mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	enter/leave protected session button is not refreshed after entering from note detail (not dialog), fixes #555
(cherry picked from commit 0a0663be69cda302a3bfea6b084c48b8b9ba3ec3)
This commit is contained in:
		
							parent
							
								
									412375e92f
								
							
						
					
					
						commit
						b389ec5ea3
					
				@ -55,11 +55,11 @@ async function setupProtectedSession(password) {
 | 
			
		||||
 | 
			
		||||
        protectedSessionDeferred.resolve(true);
 | 
			
		||||
        protectedSessionDeferred = null;
 | 
			
		||||
 | 
			
		||||
        $enterProtectedSessionButton.hide();
 | 
			
		||||
        $leaveProtectedSessionButton.show();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    $enterProtectedSessionButton.hide();
 | 
			
		||||
    $leaveProtectedSessionButton.show();
 | 
			
		||||
 | 
			
		||||
    infoService.showMessage("Protected session has been started.");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user