mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-21 14:09:34 +01:00
fix: _topic cannot be found
This commit is contained in:
@@ -39,7 +39,7 @@ class Settings {
|
|||||||
} else if (pin.type === "topic") {
|
} else if (pin.type === "topic") {
|
||||||
return this._db.notebooks
|
return this._db.notebooks
|
||||||
.notebook(pin.data.notebookId)
|
.notebook(pin.data.notebookId)
|
||||||
.topics.topic(pin.data.topic)._topic;
|
.topics.topic(pin.data.id)._topic;
|
||||||
} else if (pin.type === "tag") {
|
} else if (pin.type === "tag") {
|
||||||
return this._db.tags.tag(pin.data.id);
|
return this._db.tags.tag(pin.data.id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user