« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/Track.js12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/data/things/Track.js b/src/data/things/Track.js
index 1fb2071f..5c6a7a4e 100644
--- a/src/data/things/Track.js
+++ b/src/data/things/Track.js
@@ -301,10 +301,15 @@ export class Track extends Thing {
         validate: input.value(isContentString),
       }),
 
-      exposeDependencyOrContinue('_artistText'),
+      exposeDependency('artistText'),
+    ],
 
-      withPropertyFromObject('album', V('trackArtistText')),
-      exposeDependency('#album.trackArtistText'),
+    artistTextOnOwnPage: [
+      exposeUpdateValueOrContinue({
+        validate: input.value(isContentString),
+      }),
+
+      exposeDependency('artistText'),
     ],
 
     artistContribs: [
@@ -1088,6 +1093,7 @@ export class Track extends Thing {
 
       'Artist Text': {property: 'artistText'},
       'Artist Text In Lists': {property: 'artistTextInLists'},
+      'Artist Text On Own Page': {property: 'artistTextOnOwnPage'},
 
       'Artists': {
         property: 'artistContribs',