From 3f8dc76f84bd34e55bd3b5bb5fa703dc4580f2d2 Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Sat, 8 May 2021 12:13:39 +0200 Subject: [PATCH] Added missing config info. --- wled00/data/settings_um.htm | 6 +++++- wled00/html_settings.h | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wled00/data/settings_um.htm b/wled00/data/settings_um.htm index 215d7eb2..3c8ec7d6 100644 --- a/wled00/data/settings_um.htm +++ b/wled00/data/settings_um.htm @@ -99,8 +99,12 @@ urows += `

${k}

`; addField(k,'unknown',o); } - gId("um").innerHTML = urows; + if (urows==="") + urows = "No Usermods configuration found.
Press Save to initialize defaults."; + } else { + urows = "Usermods configuration not found.
Most likely no Usermods exist.
Press Save to initialize defaults."; } + gId("um").innerHTML = urows; }) .catch(function (error) { gId('lserr').style.display = "inline" diff --git a/wled00/html_settings.h b/wled00/html_settings.h index 3875d4aa..f63eb172 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -395,7 +395,7 @@ type="submit">Save & Reboot)====="; // Autogenerated from wled00/data/settings_um.htm, do not edit!! const char PAGE_settings_um[] PROGMEM = R"=====(UI Settings%CSS%%SCSS%