mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 21:19:01 +01:00 
			
		
		
		
	refactor(client): remove redundant variable
This commit is contained in:
		
							parent
							
								
									0776f17ebb
								
							
						
					
					
						commit
						ac30e00c02
					
				@ -92,7 +92,6 @@ export default class NoteIconWidget extends NoteContextAwareWidget {
 | 
				
			|||||||
    private $iconList!: JQuery<HTMLElement>;
 | 
					    private $iconList!: JQuery<HTMLElement>;
 | 
				
			||||||
    private $iconCategory!: JQuery<HTMLElement>;
 | 
					    private $iconCategory!: JQuery<HTMLElement>;
 | 
				
			||||||
    private $iconSearch!: JQuery<HTMLElement>;
 | 
					    private $iconSearch!: JQuery<HTMLElement>;
 | 
				
			||||||
    private $notePathList!: JQuery<HTMLElement>;
 | 
					 | 
				
			||||||
    private iconToCountCache!: Promise<IconToCountCache | null> | null;
 | 
					    private iconToCountCache!: Promise<IconToCountCache | null> | null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    doRender() {
 | 
					    doRender() {
 | 
				
			||||||
@ -114,7 +113,6 @@ export default class NoteIconWidget extends NoteContextAwareWidget {
 | 
				
			|||||||
        this.$iconSearch = this.$widget.find("input[name='icon-search']");
 | 
					        this.$iconSearch = this.$widget.find("input[name='icon-search']");
 | 
				
			||||||
        this.$iconSearch.on("input", () => this.renderDropdown());
 | 
					        this.$iconSearch.on("input", () => this.renderDropdown());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        this.$notePathList = this.$widget.find(".note-path-list");
 | 
					 | 
				
			||||||
        this.$widget.on("show.bs.dropdown", async () => {
 | 
					        this.$widget.on("show.bs.dropdown", async () => {
 | 
				
			||||||
            const { categories } = (await import("./icon_list.js")).default;
 | 
					            const { categories } = (await import("./icon_list.js")).default;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user