mirror of
https://github.com/immich-app/immich.git
synced 2025-02-04 18:35:31 +02:00
Fix test
This commit is contained in:
parent
137b2ffdd0
commit
811494e9ed
@ -12,14 +12,14 @@
|
||||
let assetInfo: AssetResponseDto;
|
||||
let assetData: string;
|
||||
|
||||
let copyImageToClipboard : (src: string) => Promise<Blob>;
|
||||
let copyImageToClipboard: (src: string) => Promise<Blob>;
|
||||
|
||||
onMount(async () => {
|
||||
const { data } = await api.assetApi.getAssetById(assetId);
|
||||
assetInfo = data;
|
||||
|
||||
//Import hack :( see https://github.com/vadimkorr/svelte-carousel/issues/27#issuecomment-851022295
|
||||
const module = await import('copy-image-clipboard')
|
||||
const module = await import('copy-image-clipboard');
|
||||
copyImageToClipboard = module.copyImageToClipboard;
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user