mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 09:15:50 +01:00
fix(client): regression in new tab
This commit is contained in:
@@ -156,7 +156,7 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
|
||||
}
|
||||
|
||||
// this is happening in update(), so note has been already set, and we need to reflect this
|
||||
if (this.noteContext && this.noteContext.notePath) {
|
||||
if (this.noteContext) {
|
||||
await typeWidget.handleEvent("noteSwitched", {
|
||||
noteContext: this.noteContext,
|
||||
notePath: this.noteContext.notePath
|
||||
|
||||
Reference in New Issue
Block a user