mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
fix web color rendering for mqtt fails
This commit is contained in:
@@ -52,5 +52,5 @@ export const mqttPublishHighlight = ({ mqtt_fails }: MqttStatus, theme: Theme) =
|
||||
if (mqtt_fails < 10)
|
||||
return theme.palette.warning.main;
|
||||
|
||||
return theme.palette.success.main;
|
||||
return theme.palette.error.main;
|
||||
}
|
||||
Reference in New Issue
Block a user