mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 22:35:50 +01:00
fix duplicate subtree
This commit is contained in:
@@ -310,7 +310,7 @@ export default class RibbonContainer extends NoteContextAwareWidget {
|
||||
// won't trigger .refresh();
|
||||
await super.handleEventInChildren('setNoteContext', data);
|
||||
}
|
||||
else {
|
||||
else if (this.isEnabled()) {
|
||||
const activeRibbonWidget = this.getActiveRibbonWidget();
|
||||
|
||||
// forward events only to active ribbon tab, inactive ones don't need to be updated
|
||||
|
||||
Reference in New Issue
Block a user