« get me outta code hell

data: withContainingTrackSection: use withUniqueReferencingThing - 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:
author(quasar) nebula <qznebula@protonmail.com>2024-08-05 13:17:21 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-08-05 20:42:09 -0300
commit4cb5d1d0c231afad0175b2824320d0612f0eceef (patch)
tree0d3a8a49baa1b7df12b21c9ea61808d97c9d9aa1 /src/data/things
parent4362324b40da9daa54c9c6c3a821b0cccaec71a0 (diff)
data: withContainingTrackSection: use withUniqueReferencingThing
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/track.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index 48201687..faa5d7ef 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -82,6 +82,7 @@ export class Track extends Thing {
     ArtTag,
     Artist,
     Flash,
+    TrackSection,
     WikiInfo,
   }) => ({
     // Update & expose
@@ -344,6 +345,10 @@ export class Track extends Thing {
       class: input.value(Track),
     }),
 
+    trackSectionData: wikiData({
+      class: input.value(TrackSection),
+    }),
+
     wikiInfo: thing({
       class: input.value(WikiInfo),
     }),