diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-08-05 12:43:39 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-08-05 20:42:08 -0300 |
commit | 4362324b40da9daa54c9c6c3a821b0cccaec71a0 (patch) | |
tree | cc93f7222002d39b580fab3c1b01ca6e2ba39a22 /src/data/composite | |
parent | 0dc4db58b90f46cc938b72d571d690e197c6c243 (diff) |
data, test: TrackSection.tracks: use direct links
Diffstat (limited to 'src/data/composite')
-rw-r--r-- | src/data/composite/things/track-section/withAlbum.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/data/composite/things/track-section/withAlbum.js b/src/data/composite/things/track-section/withAlbum.js index 608cc0cd..a4dfff0d 100644 --- a/src/data/composite/things/track-section/withAlbum.js +++ b/src/data/composite/things/track-section/withAlbum.js @@ -1,6 +1,4 @@ -// Gets the track section's album. This will early exit if ownAlbumData is -// missing. If there's no album whose list of track sections includes this one, -// the output dependency will be null. +// Gets the track section's album. import {input, templateCompositeFrom} from '#composite'; @@ -13,7 +11,7 @@ export default templateCompositeFrom({ steps: () => [ withUniqueReferencingThing({ - data: 'ownAlbumData', + data: 'albumData', list: input.value('trackSections'), }).outputs({ ['#uniqueReferencingThing']: '#album', |