mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	fix(client): don't save note tab context for read-only database
This commit is contained in:
		
							parent
							
								
									5acdb698bb
								
							
						
					
					
						commit
						50d045b70e
					
				| @ -44,6 +44,9 @@ export default class TabManager extends Component { | ||||
|             if (!appContext.isMainWindow) { | ||||
|                 return; | ||||
|             } | ||||
|             if (options.is("databaseReadonly")) { | ||||
|                 return; | ||||
|             } | ||||
| 
 | ||||
|             const openNoteContexts = this.noteContexts | ||||
|                 .map((nc) => nc.getPojoState()) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 FliegendeWurst
						FliegendeWurst