mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
web: topic is rendered incomplete when opened directly
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user