« get me outta code hell

cacheable-object, data: depend on computed values; initial compat - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/things/track/withMainReleaseTrack.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-11-25 12:03:13 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-11-25 12:04:49 -0400
commit95c7c7032556d3adfc3107d11a3e14ab0f4c9145 (patch)
tree800d4f7dfe0997d9be1a16cd9586228b1a832dbd /src/data/composite/things/track/withMainReleaseTrack.js
parent3afd5e8f8d6b08ccb9e49e53b0da4423a7d23542 (diff)
cacheable-object, data: depend on computed values; initial compat
reaches live-dev-server serve with no errors and serves
homepage at all and apparently correctly

no page navigation performed
no full build performed

aimed for preserving existing logic
should be no subsequent changes to this commit (amend)
Diffstat (limited to 'src/data/composite/things/track/withMainReleaseTrack.js')
-rw-r--r--src/data/composite/things/track/withMainReleaseTrack.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/data/composite/things/track/withMainReleaseTrack.js b/src/data/composite/things/track/withMainReleaseTrack.js
index 6371e895..70d55dd4 100644
--- a/src/data/composite/things/track/withMainReleaseTrack.js
+++ b/src/data/composite/things/track/withMainReleaseTrack.js
@@ -35,7 +35,7 @@ export default templateCompositeFrom({
 
   steps: () => [
     withResultOfAvailabilityCheck({
-      from: 'mainRelease',
+      from: '_mainRelease',
     }),
 
     {
@@ -85,10 +85,10 @@ export default templateCompositeFrom({
     },
 
     {
-      dependencies: ['name', 'directory'],
+      dependencies: ['name', '_directory'],
       compute: (continuation, {
         ['name']: ownName,
-        ['directory']: ownDirectory,
+        ['_directory']: ownDirectory,
       }) => {
         const ownNameKebabed = getKebabCase(ownName);