mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 01:05:49 +01:00
split window WIP
This commit is contained in:
@@ -6,6 +6,10 @@ export default class TabAwareWidget extends BasicWidget {
|
||||
return this.tabContext && this.tabContext.tabId === tabId;
|
||||
}
|
||||
|
||||
isTabOrParent(tabId) {
|
||||
return this.tabContext && (this.tabContext.tabId === tabId || this.tabContext.parentTabId === tabId);
|
||||
}
|
||||
|
||||
isNote(noteId) {
|
||||
return this.noteId === noteId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user