diff --git a/others/inputjson.svelte b/others/inputjson.svelte
new file mode 100644
index 0000000..c8bb099
--- /dev/null
+++ b/others/inputjson.svelte
@@ -0,0 +1,7 @@
+{#if showWidjetJson}
+
+
+
+{/if}
diff --git a/public/index.html b/public/index.html
index 6293fdd..5696fcf 100644
--- a/public/index.html
+++ b/public/index.html
@@ -4,7 +4,7 @@
-
IoT Manager 4.1.5
+ IoT Manager 4.1.6
diff --git a/src/App.svelte b/src/App.svelte
index f0abb42..e2c2c5b 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -575,6 +575,7 @@
}
function saveConfig() {
+ scenarioTxt = scenarioTxt;
wsSendMsg(selectedWs, "/tuoyal|" + JSON.stringify(generateLayout()));
wsSendMsg(selectedWs, "/gifnoc|" + JSON.stringify(configJson));
wsSendMsg(selectedWs, "/oiranecs|" + scenarioTxt);
@@ -1128,7 +1129,7 @@
{/if}
- saveConfig()} rebootEsp={() => rebootEsp()} />
+ saveConfig()} rebootEsp={() => rebootEsp()} scenarioTxt={scenarioTxt} />
rebootEsp()} ssidClick={() => ssidClick()} saveSett={() => saveSett()} saveMqtt={() => saveMqtt()} settingsJson={settingsJson} errorsJson={errorsJson} ssidJson={ssidJson} />
diff --git a/src/pages/Config.svelte b/src/pages/Config.svelte
index 972cbda..5ded7ac 100644
--- a/src/pages/Config.svelte
+++ b/src/pages/Config.svelte
@@ -125,7 +125,7 @@
-
+