Skip to content

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

web: topic is rendered incomplete when opened directly

Abdullah Atta3c70cccd1443
diff --git a/apps/web/src/navigation/routes.js b/apps/web/src/navigation/routes.js
index 7bc738637..7c50dbcf8 100644
--- a/apps/web/src/navigation/routes.js
+++ b/apps/web/src/navigation/routes.js
@@ -82,6 +82,7 @@ const routes = {
const notebook = db.notebooks.notebook(notebookId);
const topic = notebook?.topics?.topic(topicId)?._topic;
if (!topic) return false;
+ nbstore.setSelectedNotebook(notebookId);
notestore.setContext({
type: "topic",
value: { id: notebookId, topic: topicId }