This commit is contained in:
Gueye Papa Djadji 2026-08-15 13:40:03 +02:00 committed by GitHub
commit 37bae34bb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 () => {