fix: shared link add to album (#27063)

This commit is contained in:
Jason Rasmussen
2026-03-20 14:14:07 -04:00
committed by GitHub
parent 644f705be1
commit 813d684aaa
13 changed files with 230 additions and 22 deletions

View File

@@ -216,7 +216,7 @@ async function fileUploader({
uploadAssetsStore.track('success');
}
if (albumId) {
if (albumId && !authManager.isSharedLink) {
uploadAssetsStore.updateItem(deviceAssetId, { message: $t('asset_adding_to_album') });
await addAssetsToAlbums([albumId], [responseData.id], { notify: false });
uploadAssetsStore.updateItem(deviceAssetId, { message: $t('asset_added_to_album') });