Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: refresh notes after deleting a topic

Abdullah Attaf2d30adc372a
diff --git a/apps/web/src/common/multi-select.ts b/apps/web/src/common/multi-select.ts
index 0bd0cb9de..00014a878 100644
--- a/apps/web/src/common/multi-select.ts
+++ b/apps/web/src/common/multi-select.ts
@@ -104,6 +104,7 @@ async function deleteTopics(notebookId: string, topics: Item[]) {
?.notebook(notebookId)
.topics.delete(...topics.map((t) => t.id));
notebookStore.setSelectedNotebook(notebookId);
+ noteStore.refresh();
}
});
showToast("success", `${topics.length} topics deleted`);