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:
Skyler Mäntysaari 2023-08-27 07:31:52 +03:00 committed by GitHub
parent f1027d7807
commit 305889f32b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 15 deletions

View file

@ -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');
}
};