mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore(web): Fixing up missing awaits (#3882)
* chore(web): Fixing up some missing awaits. * chore(web/shared-viewer): Update import to shorted version.
This commit is contained in:
parent
f1027d7807
commit
305889f32b
6 changed files with 15 additions and 15 deletions
|
|
@ -16,7 +16,7 @@
|
|||
import SelectAll from 'svelte-material-icons/SelectAll.svelte';
|
||||
import ImmichLogo from '../shared-components/immich-logo.svelte';
|
||||
import { notificationController, NotificationType } from '../shared-components/notification/notification';
|
||||
import { handleError } from '../../utils/handle-error';
|
||||
import { handleError } from '$lib/utils/handle-error';
|
||||
|
||||
export let sharedLink: SharedLinkResponseDto;
|
||||
export let isOwned: boolean;
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
type: NotificationType.Info,
|
||||
});
|
||||
} catch (e) {
|
||||
handleError(e, 'Unable to add assets to shared link');
|
||||
await handleError(e, 'Unable to add assets to shared link');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue