two strings less

This commit is contained in:
Lukas Bachschwell 2019-04-15 12:38:09 +02:00
parent 043ba99ea9
commit 2c6aaf82f4
1 changed files with 2 additions and 2 deletions

View File

@ -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;