mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
fix(web) fix cannot add uploaded asset to a shared album (#1338)
This commit is contained in:
parent
1e2f02613f
commit
1e1fd97b38
@ -134,7 +134,7 @@ async function fileUploader(
|
||||
if (data.isExist) {
|
||||
const dataId = data.id;
|
||||
if (albumId && dataId) {
|
||||
addAssetsToAlbum(albumId, [dataId]);
|
||||
addAssetsToAlbum(albumId, [dataId], sharedKey);
|
||||
}
|
||||
onDone && dataId && onDone(dataId);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user