mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	more refactoring ...
This commit is contained in:
		@@ -118,8 +118,7 @@ async function loadNoteDetail(origNotePath, options = {}) {
 | 
			
		||||
    
 | 
			
		||||
    const loadPromise = loadNoteDetailToContext(ctx, loadedNote, notePath).then(() => {
 | 
			
		||||
        if (activate) {
 | 
			
		||||
            // will also trigger showTab via event
 | 
			
		||||
            return tabRow.activateTab(ctx.$tab[0]);
 | 
			
		||||
            appContext.activateTab(ctx);
 | 
			
		||||
        }
 | 
			
		||||
        else {
 | 
			
		||||
            return Promise.resolve();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user