Skip to content

Commit

Permalink
[WEBUI] Fix index (1technophile#1992)
Browse files Browse the repository at this point in the history
Co-authored-by: Florian <[email protected]>
  • Loading branch information
2 people authored and odoral committed Oct 18, 2024
1 parent 9d83771 commit 5180040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/ZwebUI.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5180040

Please sign in to comment.