mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
various becca migration fixes
This commit is contained in:
@@ -102,8 +102,8 @@ class TabContext extends Component {
|
||||
|
||||
/** @property {NoteShort} */
|
||||
get note() {
|
||||
if (this.noteId && !(this.noteId in froca.notes)) {
|
||||
logError(`Cannot find tabContext's note id='${this.noteId}'`);
|
||||
if (!this.noteId || !(this.noteId in froca.notes)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return froca.notes[this.noteId];
|
||||
|
||||
Reference in New Issue
Block a user