Skip to content

Commit

Permalink
fix: only show voice input if reset input is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
shibbas authored and anfibiacreativa committed Nov 9, 2023
1 parent 3edc761 commit 198864a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/chat-component/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ export class ChatComponent extends LitElement {
autocomplete="off"
@keyup="${this.handleOnInputChange}"
/>
${this.showVoiceInput
${this.showVoiceInput && !this.isResetInput
? html` <button
title="${this.enableVoiceListening
? globalConfig.CHAT_VOICE_REC_BUTTON_LABEL_TEXT
Expand Down

0 comments on commit 198864a

Please sign in to comment.