mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 14:55:50 +01:00
"move to new window" respects note hoisting of original tab
This commit is contained in:
@@ -680,4 +680,14 @@ export default class TabRowWidget extends BasicWidget {
|
||||
this.updateTab($tab, tabContext.note);
|
||||
}
|
||||
}
|
||||
|
||||
hoistedNoteChangedEvent({tabId}) {
|
||||
const $tab = this.getTabById(tabId);
|
||||
|
||||
if ($tab) {
|
||||
const tabContext = appContext.tabManager.getTabContextById(tabId);
|
||||
|
||||
this.updateTab($tab, tabContext.note);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user