Refresh pages when new settings comes
This commit is contained in:
@@ -1864,10 +1864,11 @@ script:
|
||||
id(is_blueprint_updated) = true;
|
||||
disp1->send_command_printf("api=1");
|
||||
|
||||
// Update home page
|
||||
ESP_LOGV(TAG, "Update home page");
|
||||
page_home->execute();
|
||||
|
||||
if (current_page->state != "boot") {
|
||||
// Update current page
|
||||
ESP_LOGV(TAG, "Update current page");
|
||||
page_changed->execute(current_page->state.c_str());
|
||||
}
|
||||
ESP_LOGV(TAG, "Current page: %s", current_page->state.c_str());
|
||||
|
||||
- if:
|
||||
|
||||
Reference in New Issue
Block a user