diff options
Diffstat (limited to 'src/data/things')
-rw-r--r-- | src/data/things/art-tag.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/data/things/art-tag.js b/src/data/things/art-tag.js index 9a8a75c5..75fb0f7b 100644 --- a/src/data/things/art-tag.js +++ b/src/data/things/art-tag.js @@ -18,6 +18,16 @@ export class ArtTag extends Thing { color: Thing.common.color(), isContentWarning: Thing.common.flag(false), + nameShort: { + flags: {update: true, expose: true}, + + expose: { + dependencies: ['name'], + transform: (value, {name}) => + value ?? name.replace(/ \(.*?\)$/, ''), + }, + }, + // Update only albumData: Thing.common.wikiData(Album), |