« get me outta code hell

data: directory: accept null name - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-04-06 15:40:02 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-04-10 16:02:39 -0300
commita1d87c3744cb938812cecffe87f7274fdec30ce4 (patch)
treec6600a58ba485dd64754685d34a3eb66bd6a6302 /src/data
parente360cad297b1eed7de046322eed18a9745f81b17 (diff)
data: directory: accept null name
withDirectory already supports it (underlying utilities too).
Diffstat (limited to 'src/data')
-rw-r--r--src/data/composite/wiki-properties/directory.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/data/composite/wiki-properties/directory.js b/src/data/composite/wiki-properties/directory.js
index 9ca2a204..1756a8e5 100644
--- a/src/data/composite/wiki-properties/directory.js
+++ b/src/data/composite/wiki-properties/directory.js
@@ -18,6 +18,7 @@ export default templateCompositeFrom({
     name: input({
       validate: isName,
       defaultDependency: 'name',
+      acceptsNull: true,
     }),
 
     suffix: input({