mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Added error handling notification (#536)
This commit is contained in:
parent
33b810de74
commit
4be9aa091b
10 changed files with 118 additions and 26 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { fade } from 'svelte/transition';
|
||||
|
||||
import { createEventDispatcher, onMount } from 'svelte';
|
||||
import { onMount } from 'svelte';
|
||||
import LoadingSpinner from '../shared-components/loading-spinner.svelte';
|
||||
import { api, AssetResponseDto } from '@api';
|
||||
|
||||
|
|
@ -10,8 +10,6 @@
|
|||
|
||||
let assetInfo: AssetResponseDto;
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
onMount(async () => {
|
||||
const { data } = await api.assetApi.getAssetById(assetId);
|
||||
assetInfo = data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue