[Update/bugfix] UI: Add disable/enable UI function when osc query is disabled.
Fix the error that the mic mute sync couldn't enable/disable.
This commit is contained in:
@@ -14,6 +14,7 @@ export const SnackbarController = () => {
|
||||
|
||||
const snackbar_classname = clsx(styles.snackbar_content, {
|
||||
[styles.is_success]: currentNotificationStatus.data.status === "success",
|
||||
[styles.is_warning]: currentNotificationStatus.data.status === "warning",
|
||||
[styles.is_error]: currentNotificationStatus.data.status === "error",
|
||||
});
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
&.is_success {
|
||||
background-color: var(--success_bc_color);
|
||||
}
|
||||
&.is_warning {
|
||||
background-color: var(--waring_bc_color);
|
||||
}
|
||||
&.is_error {
|
||||
background-color: var(--error_bc_color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user