mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	fix the isEnabled function
This commit is contained in:
		
							parent
							
								
									0ea7e10084
								
							
						
					
					
						commit
						1844ad7b49
					
				| @ -13,7 +13,7 @@ function initComponents() { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function addChatTab() { | function addChatTab() { | ||||||
|     if (!options.getOptionBool('llmEnabled')) { |     if (!options.getOptionBool('aiEnabled')) { | ||||||
|         return; |         return; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -61,7 +61,7 @@ export default class ChatWidget extends TabAwareWidget { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     isEnabled() { |     isEnabled() { | ||||||
|         return options.getOptionBool('llmEnabled'); |         return options.getOptionBool('aiEnabled'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     doRender() { |     doRender() { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 perf3ct
						perf3ct