diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-03-01 16:19:10 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-03-01 16:19:10 -0400 |
commit | 62f64b3aa019747e9c764eda853591b321850ca0 (patch) | |
tree | 62e183680ebb4bc5a0015eda957ba367ab11030c /src/data/things/thing.js | |
parent | 7bf9489f14735f9e44af37f2ade14890a119b403 (diff) | |
parent | 1f0924cc94ea10320afe951a2e8fb4906b5e6106 (diff) |
Merge branch 'preview' into image-overlay
Diffstat (limited to 'src/data/things/thing.js')
-rw-r--r-- | src/data/things/thing.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/data/things/thing.js b/src/data/things/thing.js index b9fa60c6..5ab15c0e 100644 --- a/src/data/things/thing.js +++ b/src/data/things/thing.js @@ -148,6 +148,10 @@ export default class Thing extends CacheableObject { additionalFiles: () => ({ flags: {update: true, expose: true}, update: {validate: isAdditionalFileList}, + expose: { + transform: (additionalFiles) => + additionalFiles ?? [], + }, }), // A reference list! Keep in mind this is for general references to wiki |