fix the isEnabled function

This commit is contained in:
perf3ct
2025-03-17 15:42:38 +00:00
parent 0ea7e10084
commit 1844ad7b49
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ function initComponents() {
}
function addChatTab() {
if (!options.getOptionBool('llmEnabled')) {
if (!options.getOptionBool('aiEnabled')) {
return;
}

View File

@@ -61,7 +61,7 @@ export default class ChatWidget extends TabAwareWidget {
}
isEnabled() {
return options.getOptionBool('llmEnabled');
return options.getOptionBool('aiEnabled');
}
doRender() {