mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
Merge 55860369b9 into ffc83eae36
This commit is contained in:
commit
37bae34bb8
1 changed files with 7 additions and 1 deletions
|
|
@ -185,9 +185,15 @@
|
|||
if (!current) {
|
||||
return;
|
||||
}
|
||||
const nextTarget = current.next?.asset ?? current.previous?.asset;
|
||||
|
||||
await memoryManager.deleteAssetFromMemory(current.asset.id);
|
||||
init(page);
|
||||
|
||||
if (nextTarget) {
|
||||
await handleNavigate(nextTarget);
|
||||
} else {
|
||||
init(page);
|
||||
}
|
||||
};
|
||||
|
||||
const handleDeleteMemory = async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue