mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 02:52:27 +08:00
fix the isEnabled function
This commit is contained in:
parent
0ea7e10084
commit
1844ad7b49
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user