mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
client: Fix switching notes, default text
This commit is contained in:
parent
594f816702
commit
c2959fe52d
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user