1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 02:46:47 +01:00

fix(web) fix cannot add uploaded asset to a shared album (#1338)

This commit is contained in:
Alex 2023-01-16 14:37:18 -06:00 committed by GitHub
parent 1e2f02613f
commit 1e1fd97b38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,7 @@ async function fileUploader(
if (data.isExist) { if (data.isExist) {
const dataId = data.id; const dataId = data.id;
if (albumId && dataId) { if (albumId && dataId) {
addAssetsToAlbum(albumId, [dataId]); addAssetsToAlbum(albumId, [dataId], sharedKey);
} }
onDone && dataId && onDone(dataId); onDone && dataId && onDone(dataId);
return; return;