mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
fixed double refresh of note detail
This commit is contained in:
@@ -39,8 +39,8 @@ export default class TabCachingWidget extends TabAwareWidget {
|
||||
let widget = this.widgets[this.tabContext.tabId];
|
||||
|
||||
if (!widget) {
|
||||
widget = this.widgets[this.tabContext.tabId] = this.widgetFactory(this);
|
||||
this.children.push(widget);
|
||||
widget = this.widgets[this.tabContext.tabId] = this.widgetFactory();
|
||||
this.child(widget);
|
||||
|
||||
const $renderedWidget = widget.render();
|
||||
keyboardActionsService.updateDisplayedShortcuts($renderedWidget);
|
||||
|
||||
Reference in New Issue
Block a user