mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-03 12:41:45 +02:00
fix: send proper context when opening topic from topic label on notebooks
This commit is contained in:
@@ -31,11 +31,9 @@ function Notebooks(props) {
|
||||
props.navigator.navigate("notes", {
|
||||
title: notebook.title,
|
||||
subtitle: topic.title,
|
||||
notes: db.notebooks
|
||||
.notebook(notebook.id)
|
||||
.topics.topic(topic.title).all,
|
||||
context: {
|
||||
notebook: { id: notebook.id, topic: topic.title },
|
||||
type: "topic",
|
||||
value: { id: notebook.id, topic: topic.title },
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user