mirror of
https://github.com/immich-app/immich.git
synced 2025-02-11 01:18:24 -05:00
fix(web): load panorama in shared link (#8060)
* fix(web): load panorama in shared link * remove console log
This commit is contained in:
parent
50924f0b3d
commit
51841d627c
1 changed files with 2 additions and 2 deletions
|
@ -2,11 +2,11 @@
|
|||
import { serveFile, type AssetResponseDto } from '@immich/sdk';
|
||||
import { fade } from 'svelte/transition';
|
||||
import LoadingSpinner from '../shared-components/loading-spinner.svelte';
|
||||
|
||||
import { getKey } from '$lib/utils';
|
||||
export let asset: AssetResponseDto;
|
||||
|
||||
const loadAssetData = async () => {
|
||||
const data = await serveFile({ id: asset.id, isWeb: false, isThumb: false });
|
||||
const data = await serveFile({ id: asset.id, isWeb: false, isThumb: false, key: getKey() });
|
||||
return URL.createObjectURL(data);
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Reference in a new issue