mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-01 05:21:32 +08: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
	 Elian Doran
						Elian Doran