Skip to content

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

fix: refresh nav items on topic edit

thecodrr2e60fedc88eb
diff --git a/apps/web/src/common/dialogcontroller.js b/apps/web/src/common/dialogcontroller.js
index 69b0ec641..143c716eb 100644
--- a/apps/web/src/common/dialogcontroller.js
+++ b/apps/web/src/common/dialogcontroller.js
@@ -463,6 +463,7 @@ export function showEditTopicDialog(notebookId, topicId) {
.notebook(topic.notebookId)
.topics.add({ ...topic, title: t });
notebookStore.setSelectedNotebook(topic.notebookId);
+ appStore.refreshNavItems();
showToast("success", "Topic edited!");
perform(true);
}}