[WEBUI] Fix index (#1992)

Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
FlorianandFlorian authored and GitHub committed 2024-08-13 13:05:07 -05:00
1 parent 6441175262
commit d43d93f151
1 file changed
+1 -1
+1 -1
View File
@@ -766,7 +766,7 @@ void handleMQ() {
# ifndef ESPWifiManualSetup
if (update) {
Log.warning(F("[WebUI] Save MQTT and Reconnect" CR));
WEBtoSYS["cnt_index"] = 1; // For the moment we only enable to change index 1 with WebUI
WEBtoSYS["cnt_index"] = CNT_DEFAULT_INDEX;
WEBtoSYS["save_cnt"] = true;
char jsonChar[100];
serializeJson(modules, jsonChar, measureJson(modules) + 1);