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