mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-13 20:42:29 +08:00
fix(settings/llm): extra separators
This commit is contained in:
parent
5d0be300bf
commit
1dafa65b3a
@ -575,6 +575,7 @@ export default class AiSettingsWidget extends OptionsWidget {
|
|||||||
this.$widget.find('.ai-providers-section').toggle(aiEnabled);
|
this.$widget.find('.ai-providers-section').toggle(aiEnabled);
|
||||||
this.$widget.find('.ai-provider').toggle(aiEnabled);
|
this.$widget.find('.ai-provider').toggle(aiEnabled);
|
||||||
this.$widget.find('.embedding-section').toggle(aiEnabled);
|
this.$widget.find('.embedding-section').toggle(aiEnabled);
|
||||||
|
this.$widget.find('hr').toggle(aiEnabled);
|
||||||
|
|
||||||
// Start or stop polling based on visibility
|
// Start or stop polling based on visibility
|
||||||
if (aiEnabled && this.$widget.find('.embedding-section').is(':visible')) {
|
if (aiEnabled && this.$widget.find('.embedding-section').is(':visible')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user