GraphQL 0.11 - Load devices json on Query, _KEEP_ bugfix for old settings

This commit is contained in:
jokob-sk
2024-11-11 12:01:09 +11:00
parent bf9f55355e
commit 60777b2f82
6 changed files with 25 additions and 59 deletions

View File

@@ -464,10 +464,10 @@ $settingsJSON_DB = json_encode($settings, JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX
// INPUT
// console.log(codeName);
// Parse the setType JSON string into an object
let inputHtml = '';
console.log(codeName);
console.log(setType);
const setTypeObject = JSON.parse(setType.replace(/'/g, '"'));