[Update] Config Page: Add Device tab. add mic host list.(not selectable yet.)

This commit is contained in:
Sakamoto Shiina
2024-09-02 17:04:34 +09:00
parent 6c68f3744f
commit 26691f773f
15 changed files with 140 additions and 26 deletions

View File

@@ -17,6 +17,8 @@ export const useReceiveRoutes = () => {
const {
updateSoftwareVersion,
updateMicHostList,
updateSelectedMicHost,
} = useConfig();
const routes = {
@@ -28,6 +30,9 @@ export const useReceiveRoutes = () => {
"/controller/callback_disable_transcription_receive": updateTranscriptionReceiveStatus,
"/config/version": updateSoftwareVersion,
"/controller/list_mic_host": updateMicHostList,
"/config/choice_mic_host": updateSelectedMicHost,
"/controller/callback_messagebox_send": updateSentMessageLog,
"/action/transcription_send_mic_message": addSentMessageLog,