« get me outta code hell

data: Track: stub soupyFind.input demo - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-01-10 22:56:22 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-01-10 22:56:22 -0400
commitd75ecdb9cd5bb283b0e49f82117340ec2b9411f4 (patch)
tree62eadab31ac045afb6cbe0c70ae5d706c6d2ae01
parent6cbdd051290e0f86c6484a19264f44aef1e41f5d (diff)
data: Track: stub soupyFind.input demo
-rw-r--r--src/data/things/track.js14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index a4497ec0..d88f366c 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -330,14 +330,9 @@ export class Track extends Thing {
         notFoundValue: input.value([]),
       }),
 
-      withPropertyFromObject({
-        object: 'find',
-        property: input.value('track'),
-      }),
-
       referenceList({
         class: input.value(Track),
-        find: '#find.track',
+        find: soupyFind.input('track'),
       }),
     ],
 
@@ -346,14 +341,9 @@ export class Track extends Thing {
         notFoundValue: input.value([]),
       }),
 
-      withPropertyFromObject({
-        object: 'find',
-        property: input.value('track'),
-      }),
-
       referenceList({
         class: input.value(Track),
-        find: '#find.track',
+        find: soupyFind.input('track'),
       }),
     ],