mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	enter/leave protected session button is not refreshed after entering from note detail (not dialog), fixes #555
This commit is contained in:
		@@ -55,10 +55,10 @@ async function setupProtectedSession(password) {
 | 
			
		||||
 | 
			
		||||
        protectedSessionDeferred.resolve(true);
 | 
			
		||||
        protectedSessionDeferred = null;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    $enterProtectedSessionButton.hide();
 | 
			
		||||
    $leaveProtectedSessionButton.show();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    infoService.showMessage("Protected session has been started.");
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user