« get me outta code hell

data: Track: remove withAlbum, link album directly - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/things/track/withPropertyFromAlbum.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-04-06 15:34:13 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-04-10 16:02:39 -0300
commit67a936adc308a5bec6c969c90d8811fcbce3009b (patch)
tree17ce4121d50136ca6d54a666b20ab7dcb216cd94 /src/data/composite/things/track/withPropertyFromAlbum.js
parent0c08c6225727b9bcc3113ec2604c84db9012faf2 (diff)
data: Track: remove withAlbum, link album directly
Diffstat (limited to 'src/data/composite/things/track/withPropertyFromAlbum.js')
-rw-r--r--src/data/composite/things/track/withPropertyFromAlbum.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/data/composite/things/track/withPropertyFromAlbum.js b/src/data/composite/things/track/withPropertyFromAlbum.js
index e9c5b56e..311a3448 100644
--- a/src/data/composite/things/track/withPropertyFromAlbum.js
+++ b/src/data/composite/things/track/withPropertyFromAlbum.js
@@ -5,8 +5,6 @@ import {input, templateCompositeFrom} from '#composite';
 
 import {withPropertyFromObject} from '#composite/data';
 
-import withAlbum from './withAlbum.js';
-
 export default templateCompositeFrom({
   annotation: `withPropertyFromAlbum`,
 
@@ -19,10 +17,9 @@ export default templateCompositeFrom({
   }) => ['#album.' + property],
 
   steps: () => [
-    withAlbum(),
 
     withPropertyFromObject({
-      object: '#album',
+      object: 'album',
       property: input('property'),
     }),