mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 07:15:51 +01:00
small fixes
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 if (this.isEnabled()) {
|
||||
else if (this.isEnabled() || name === 'initialRenderComplete') {
|
||||
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