A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: refresh nav items on deleting a tag
Abdullah Atta484fc4f5a450
diff --git a/apps/web/src/components/tag/index.tsx b/apps/web/src/components/tag/index.tsxindex e4b961f24..8b333fd91 100644--- a/apps/web/src/components/tag/index.tsx+++ b/apps/web/src/components/tag/index.tsx@@ -98,6 +98,7 @@ const menuItems: (tag: Tag, ids?: string[]) => MenuItem[] = (tag, ids = []) => {onClick: async () => {await db.tags.remove(...ids);showToast("success", `${pluralize(ids.length, "tag")} deleted`);+ await appStore.refreshNavItems();await editorStore.refreshTags();await tagStore.refresh();await noteStore.refresh();