fix(web): cannot view publlic shared album (#3829)

This commit is contained in:
Alex
2023-08-22 08:05:48 +02:00
committed by GitHub
parent d7f52739e8
commit 3b11be2859
3 changed files with 6 additions and 7 deletions

View File

@@ -27,7 +27,6 @@
export let assetInteractionStore: AssetInteractionStore;
const { selectedGroup, selectedAssets, assetSelectionCandidates, isMultiSelectState } = assetInteractionStore;
const dispatch = createEventDispatcher<{
select: { title: string; assets: AssetResponseDto[] };
selectAssets: AssetResponseDto;
@@ -97,7 +96,7 @@
return;
}
assetViewingStore.setAssetId(asset.id);
assetViewingStore.setAssetId(asset.id, publicSharedKey);
};
const handleSelectGroup = (title: string, assets: AssetResponseDto[]) => dispatch('select', { title, assets });