mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 21:29:13 +00:00
Update chat_view.ts
fixed Typo
This commit is contained in:
@@ -981,7 +981,7 @@ export class KhojChatView extends KhojPaneView {
|
|||||||
this.currentAgent = agentSlug || null;
|
this.currentAgent = agentSlug || null;
|
||||||
|
|
||||||
// Update agent selector to reflect current agent
|
// Update agent selector to reflect current agent
|
||||||
const agentSelect = this.contentEl.querySelector('.khoj-agent-select') as HTMLSelectElement;
|
const agentSelect = this.contentEl.querySelector('.khoj-header-agent-select') as HTMLSelectElement;
|
||||||
if (agentSelect) {
|
if (agentSelect) {
|
||||||
agentSelect.value = this.currentAgent || '';
|
agentSelect.value = this.currentAgent || '';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user