From 9f241959cfa759e9d8c79859e9bb0a42b565e541 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Thu, 22 Feb 2024 23:13:29 +0500 Subject: [PATCH] web: fix vault settings not updating on deleting vault --- apps/web/src/common/vault.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/src/common/vault.ts b/apps/web/src/common/vault.ts index 730dfabb6..5dff64c9b 100644 --- a/apps/web/src/common/vault.ts +++ b/apps/web/src/common/vault.ts @@ -76,7 +76,9 @@ class Vault { }); if (result) { await db.vault.delete(result.deleteAllLockedNotes); + return true; } + return false; } static unlockVault() {