From 4852931ecf2c7ce63851ea6f3a60c9d5b142ae6f Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 21 Sep 2023 16:04:06 -0300 Subject: data: minor fixes --- src/data/things/thing.js | 2 +- src/data/things/track.js | 7 ++++--- 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, })), }, -- cgit 1.3.0-6-gf8a5