mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
fix the isEnabled function
This commit is contained in:
@@ -13,7 +13,7 @@ function initComponents() {
|
||||
}
|
||||
|
||||
function addChatTab() {
|
||||
if (!options.getOptionBool('llmEnabled')) {
|
||||
if (!options.getOptionBool('aiEnabled')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ export default class ChatWidget extends TabAwareWidget {
|
||||
}
|
||||
|
||||
isEnabled() {
|
||||
return options.getOptionBool('llmEnabled');
|
||||
return options.getOptionBool('aiEnabled');
|
||||
}
|
||||
|
||||
doRender() {
|
||||
|
||||
Reference in New Issue
Block a user