« get me outta code hell

data: individual custom additional name list props - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/wiki-properties
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-12-03 13:26:52 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-12-03 13:26:52 -0400
commit4ba84964a90ec93d6d30d577e9e00c3e5b4fca83 (patch)
treeb9d603370471360f62e43e9dfecf9c64c07b3d99 /src/data/composite/wiki-properties
parent5c1d9fb97b8ecc61c0343d6eee63a735c34e53c9 (diff)
data: individual custom additional name list props
Diffstat (limited to 'src/data/composite/wiki-properties')
-rw-r--r--src/data/composite/wiki-properties/additionalNameList.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/data/composite/wiki-properties/additionalNameList.js b/src/data/composite/wiki-properties/additionalNameList.js
index d1302224..c5971d4a 100644
--- a/src/data/composite/wiki-properties/additionalNameList.js
+++ b/src/data/composite/wiki-properties/additionalNameList.js
@@ -9,5 +9,6 @@ export default function() {
   return {
     flags: {update: true, expose: true},
     update: {validate: isAdditionalNameList},
+    expose: {transform: value => value ?? []},
   };
 }