Skip to content

Commit 366afc6

Browse files
committed
fix: reset microphone button to default state on chat close
1 parent 9e03032 commit 366afc6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

custom/speech_recognition_frontend/MicrophoneButon.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ onMounted(() => {
5252
agentStore.registerOnBeforeChatCloseCallback(async () => {
5353
if(agentStore.isAudioChatMode) {
5454
onStopRecording();
55+
resetAll();
5556
agentStore.setIsAudioChatMode(false);
5657
}
5758
});

0 commit comments

Comments
 (0)