client: Fix switching notes, default text

pull/379/head
Elian Doran 2024-09-01 15:25:28 +07:00
parent 594f816702
commit c2959fe52d
No known key found for this signature in database
1 changed files with 1 additions and 5 deletions

@ -33,16 +33,12 @@ export default class MindMapWidget extends TypeWidget {
el: this.$content[0],
direction: MindElixir.LEFT
});
mind.init(MindElixir.new("hello"));
mind.init(MindElixir.new());
});
super.doRender();
}
cleanup() {
this.$widget.empty();
}
async entitiesReloadedEvent({loadResults}) {
if (loadResults.isNoteReloaded(this.noteId)) {
this.refresh();