[Update] Main Page: Message input box. Add function, auto clear message box.

This commit is contained in:
Sakamoto Shiina
2024-09-08 18:14:58 +09:00
parent 28a602e01e
commit 6aa427baec
4 changed files with 15 additions and 1 deletions

View File

@@ -100,6 +100,10 @@ export const useConfig = () => {
// Others
getEnableAutoClearMessageBox: () => {
updateEnableAutoClearMessageBox(asyncPending);
asyncStdoutToPython("/config/enable_auto_clear_message_box");
},
toggleEnableAutoClearMessageBox: () => {
updateEnableAutoClearMessageBox(asyncPending);
if (currentEnableAutoClearMessageBox.data) {