mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
Fix test
This commit is contained in:
parent
137b2ffdd0
commit
811494e9ed
1 changed files with 2 additions and 2 deletions
|
@ -12,14 +12,14 @@
|
||||||
let assetInfo: AssetResponseDto;
|
let assetInfo: AssetResponseDto;
|
||||||
let assetData: string;
|
let assetData: string;
|
||||||
|
|
||||||
let copyImageToClipboard : (src: string) => Promise<Blob>;
|
let copyImageToClipboard: (src: string) => Promise<Blob>;
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
const { data } = await api.assetApi.getAssetById(assetId);
|
const { data } = await api.assetApi.getAssetById(assetId);
|
||||||
assetInfo = data;
|
assetInfo = data;
|
||||||
|
|
||||||
//Import hack :( see https://github.com/vadimkorr/svelte-carousel/issues/27#issuecomment-851022295
|
//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;
|
copyImageToClipboard = module.copyImageToClipboard;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue