mirror of
https://github.com/s00500/ESPUI.git
synced 2024-11-24 22:40:54 +00:00
two strings less
This commit is contained in:
parent
043ba99ea9
commit
2c6aaf82f4
@ -583,14 +583,14 @@ void ESPUIClass::jsonDom(AsyncWebSocketClient *client) {
|
||||
|
||||
JsonObject titleItem = items.createNestedObject();
|
||||
titleItem["type"] = (int)UI_TITLE;
|
||||
titleItem["label"] = String(ui_title);
|
||||
titleItem["label"] = ui_title;
|
||||
|
||||
while (control != nullptr) {
|
||||
JsonObject item = items.createNestedObject();
|
||||
|
||||
item["id"] = String(control->id);
|
||||
item["type"] = (int)control->type;
|
||||
item["label"] = String(control->label);
|
||||
item["label"] = control->label;
|
||||
item["value"] = String(control->value);
|
||||
item["color"] = (int)control->color;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user