mirror of
https://github.com/immich-app/immich.git
synced 2025-12-19 17:23:21 +03: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:
committed by
GitHub
parent
f1027d7807
commit
305889f32b
@@ -4,7 +4,7 @@
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
import { videoViewerVolume } from '$lib/stores/preferences.store';
|
||||
import LoadingSpinner from '../shared-components/loading-spinner.svelte';
|
||||
import { handleError } from '../../utils/handle-error';
|
||||
import { handleError } from '$lib/utils/handle-error';
|
||||
|
||||
export let assetId: string;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
video.muted = false;
|
||||
dispatch('onVideoStarted');
|
||||
} catch (error) {
|
||||
handleError(error, 'Unable to play video');
|
||||
await handleError(error, 'Unable to play video');
|
||||
} finally {
|
||||
isVideoLoading = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user