« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/data/things/thing.js2
-rw-r--r--src/data/things/track.js7
2 files changed, 5 insertions, 4 deletions
diff --git a/src/data/things/thing.js b/src/data/things/thing.js
index ca1018eb..77f549fe 100644
--- a/src/data/things/thing.js
+++ b/src/data/things/thing.js
@@ -602,7 +602,7 @@ export const withResolvedReference = templateCompositeFrom({
         }
 
         return continuation.raiseOutput({
-          ['#resolvedReference']: match,
+          ['#resolvedReference']: match ?? null,
         });
       },
     },
diff --git a/src/data/things/track.js b/src/data/things/track.js
index 5ccf4f8b..54b2c124 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -638,7 +638,9 @@ export const withHasUniqueCoverArt = templateCompositeFrom({
       dependencies: ['disableUniqueCoverArt'],
       compute: (continuation, {disableUniqueCoverArt}) =>
         (disableUniqueCoverArt
-          ? continuation.raiseOutput({into: false})
+          ? continuation.raiseOutput({
+              ['#hasUniqueCoverArt']: false,
+            })
           : continuation()),
     },
 
@@ -652,8 +654,7 @@ export const withHasUniqueCoverArt = templateCompositeFrom({
         (empty(contribsFromTrack)
           ? continuation()
           : continuation.raiseOutput({
-              ['#hasUniqueCoverArt']:
-                true,
+              ['#hasUniqueCoverArt']: true,
             })),
     },