mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 04:16:17 +01:00 
			
		
		
		
	wip
This commit is contained in:
		@@ -48,7 +48,7 @@ export default class TabAwareWidget extends BasicWidget {
 | 
			
		||||
 | 
			
		||||
    async tabNoteSwitchedEvent({tabContext, notePath}) {
 | 
			
		||||
        // if notePath does not match then the tabContext has been switched to another note in the mean time
 | 
			
		||||
        if (tabContext.notePath === notePath) {
 | 
			
		||||
        if (tabContext.isActive() && tabContext.notePath === notePath) {
 | 
			
		||||
            await this.noteSwitched();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user