diff options
| author | historia <[not public]> | 2026-07-13 16:10:40 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-13 16:10:40 -0400 |
| commit | 3274b700a6f655b8ecc3505e814ac5d782ae6ffe (patch) | |
| tree | e669b47726f8cb93b75c7df85997cc8556009f20 /internal/admin/static/moduleeditor.js | |
| parent | 93a412aed2b11406399504c81d6d19ed1341908a (diff) | |
| download | thehouseoficarus-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.js | 2 |
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; |
