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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 });