« get me outta code hell

data: Artwork: chop withDate - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/artwork.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-11-26 21:38:50 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-11-26 21:38:50 -0400
commitef1ec90608dc4a8cffbff2488ae3491a9efa7349 (patch)
treecfe75022946392343047451ee558e883e3b88dd5 /src/data/things/artwork.js
parent320ea651bdb2ed58d79e7f5fc11c6a65f88ad047 (diff)
data: Artwork: chop withDate
It wasn't even used to compute the date property...
Diffstat (limited to 'src/data/things/artwork.js')
-rw-r--r--src/data/things/artwork.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/data/things/artwork.js b/src/data/things/artwork.js
index 688cccb3..6ec524c2 100644
--- a/src/data/things/artwork.js
+++ b/src/data/things/artwork.js
@@ -62,8 +62,7 @@ import {
   wikiData,
 } from '#composite/wiki-properties';
 
-import {withContainingArtworkList, withDate}
-  from '#composite/things/artwork';
+import {withContainingArtworkList} from '#composite/things/artwork';
 
 export class Artwork extends Thing {
   static [Thing.referenceType] = 'artwork';
@@ -135,11 +134,9 @@ export class Artwork extends Thing {
     artistContribsArtistProperty: simpleString(),
 
     artistContribs: [
-      withDate(),
-
       withResolvedContribs({
         from: input.updateValue({validate: isContributionList}),
-        date: '#date',
+        date: 'date',
         thingProperty: input.thisProperty(),
         artistProperty: 'artistContribsArtistProperty',
       }),