mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
client: Fix switching notes, default text
This commit is contained in:
@@ -33,16 +33,12 @@ export default class MindMapWidget extends TypeWidget {
|
|||||||
el: this.$content[0],
|
el: this.$content[0],
|
||||||
direction: MindElixir.LEFT
|
direction: MindElixir.LEFT
|
||||||
});
|
});
|
||||||
mind.init(MindElixir.new("hello"));
|
mind.init(MindElixir.new());
|
||||||
});
|
});
|
||||||
|
|
||||||
super.doRender();
|
super.doRender();
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanup() {
|
|
||||||
this.$widget.empty();
|
|
||||||
}
|
|
||||||
|
|
||||||
async entitiesReloadedEvent({loadResults}) {
|
async entitiesReloadedEvent({loadResults}) {
|
||||||
if (loadResults.isNoteReloaded(this.noteId)) {
|
if (loadResults.isNoteReloaded(this.noteId)) {
|
||||||
this.refresh();
|
this.refresh();
|
||||||
|
|||||||
Reference in New Issue
Block a user