aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/static/moduleeditor.js
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-13 16:10:40 -0400
committerhistoria <[not public]>2026-07-13 16:10:40 -0400
commit3274b700a6f655b8ecc3505e814ac5d782ae6ffe (patch)
treee669b47726f8cb93b75c7df85997cc8556009f20 /internal/admin/static/moduleeditor.js
parent93a412aed2b11406399504c81d6d19ed1341908a (diff)
downloadthehouseoficarus-3274b700a6f655b8ecc3505e814ac5d782ae6ffe.tar.gz
feat(admin): reminder text for color tags and item variables, improve placeholder text
Diffstat (limited to 'internal/admin/static/moduleeditor.js')
-rw-r--r--internal/admin/static/moduleeditor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/admin/static/moduleeditor.js b/internal/admin/static/moduleeditor.js
index fe71f88..b2eb79f 100644
--- a/internal/admin/static/moduleeditor.js
+++ b/internal/admin/static/moduleeditor.js
@@ -221,7 +221,7 @@ function addArrayItem(cardID) {
var arr = moduleData[sec.path] || [];
var empty = {};
sec.fields.forEach(function(f) {
- empty[f[0]] = f[2] === 'checkbox' ? false : (f[2] === 'number' ? 0 : '');
+ empty[f[0]] = f[2] === 'checkbox' ? false : '';
});
arr.push(empty);
moduleData[sec.path] = arr;