diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-01-10 22:29:50 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-01-10 22:30:04 -0400 |
commit | abebddc844ccea9ec7ee3d950cd6a10707ae5e4e (patch) | |
tree | 4921c3b39fb203f4b48e8642076c935d6bce42b9 | |
parent | 11a6a76dc78aa6f30cc6860ba353ef68cf9e21c5 (diff) |
data: Track: stub soupyFind demo
-rw-r--r-- | src/data/things/track.js | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js index a0d2f641..a4497ec0 100644 --- a/src/data/things/track.js +++ b/src/data/things/track.js @@ -54,6 +54,7 @@ import { simpleDate, simpleString, singleReference, + soupyFind, thing, urls, wikiData, @@ -329,10 +330,14 @@ export class Track extends Thing { notFoundValue: input.value([]), }), + withPropertyFromObject({ + object: 'find', + property: input.value('track'), + }), + referenceList({ class: input.value(Track), - find: input.value(find.track), - data: 'trackData', + find: '#find.track', }), ], @@ -341,10 +346,14 @@ export class Track extends Thing { notFoundValue: input.value([]), }), + withPropertyFromObject({ + object: 'find', + property: input.value('track'), + }), + referenceList({ class: input.value(Track), - find: input.value(find.track), - data: 'trackData', + find: '#find.track', }), ], @@ -376,6 +385,8 @@ export class Track extends Thing { // Update only + find: soupyFind(), + albumData: wikiData({ class: input.value(Album), }), |