mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
show mqtt reconnects the same way as network reconnects (count disconnects)
This commit is contained in:
@@ -70,9 +70,9 @@ const MqttStatus = () => {
|
||||
return LL.NOT_ENABLED();
|
||||
}
|
||||
if (connected) {
|
||||
return LL.CONNECTED(0) + (connect_count > 1 ? ' (' + connect_count + ')' : '');
|
||||
return LL.CONNECTED(0) + ' (' + connect_count + ')';
|
||||
}
|
||||
return LL.DISCONNECTED() + (connect_count > 1 ? ' (' + connect_count + ')' : '');
|
||||
return LL.DISCONNECTED() + ' (' + connect_count + ')';
|
||||
};
|
||||
|
||||
const disconnectReason = ({ disconnect_reason }: MqttStatusType) => {
|
||||
|
||||
Reference in New Issue
Block a user