mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
when resolving note path attempt to find one going through hoisted note
This commit is contained in:
@@ -22,6 +22,10 @@ export default class TabAwareWidget extends BasicWidget {
|
||||
return this.tabContext && this.tabContext.notePath;
|
||||
}
|
||||
|
||||
get hoistedNoteId() {
|
||||
return this.tabContext && this.tabContext.hoistedNoteId;
|
||||
}
|
||||
|
||||
isEnabled() {
|
||||
return !!this.note;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user