mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	fixes for link map
This commit is contained in:
		@@ -20,12 +20,14 @@ export async function showDialog() {
 | 
			
		||||
    $maxNotesInput.val(10);
 | 
			
		||||
    LINK_TYPES.forEach(lt => $("#link-map-" + lt).prop('checked', true));
 | 
			
		||||
 | 
			
		||||
    const note = noteDetailService.getActiveNoteId();
 | 
			
		||||
    const note = noteDetailService.getActiveNote();
 | 
			
		||||
 | 
			
		||||
    if (!note) {
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    $linkMapContainer.css("height", $("body").height() - 150);
 | 
			
		||||
 | 
			
		||||
    linkMapService = new LinkMapService(note, $linkMapContainer);
 | 
			
		||||
    linkMapService.render();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user