Device dashboard refactoring

This commit is contained in:
cpq committed 2026-04-29 09:22:19 +01:00
1 parent 609a0bd905
commit 1045635d81
13 files changed
+624 -1081

No files matched your search

+1 -1
View File
@@ -247,7 +247,7 @@
}
}
for (const attr of el.attributes) {
const cv = decodeURIComponent(attr.value || '');
const cv = attr.value || '';
if (attr.originalValue || cv.includes('${')) {
if (!attr.originalValue) attr.originalValue = cv;
const v = substituteExpressions(attr.originalValue, context);
+1 -1
View File
@@ -147,7 +147,7 @@ async function processHtml(content) {
processHtml(html).then(result => {
if (outputFile) {
fs.writeFileSync(outputFile, result);
console.log(`Written to ${outputFile}`);
//console.log(`Written to ${outputFile}`);
} else {
console.log(result);
}