1
0
Fork 0

Fix saving of JSON

master
Marco H 2023-01-10 20:04:40 +01:00
parent 108fc1e207
commit ba21b8a48c
2 changed files with 2 additions and 2 deletions

View File

@ -6,4 +6,4 @@
0.06: Updated clkinfo icon.
0.07: Update clock_info to avoid a redraw
0.08: Allow swiping to switch triggers
0.09: Improve web interface
0.09: Improve web interface, arrows in UI

View File

@ -41,7 +41,7 @@
var triggerText = document.getElementById("triggers").value;
Util.showModal("Saving...");
Util.writeStorage("ha.trigger.json", JSON.stringify(triggerText), ()=>{
Util.writeStorage("ha.trigger.json", triggerText, ()=>{
Util.hideModal();
});
console.log("Sent ha.trigger.json!");