« get me outta code hell

data: 2x facepalm combobob - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-08-21 21:50:25 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-09-05 21:02:49 -0300
commit8f8361c7c45b02a2221c01acc492ba4d3ae1c42e (patch)
treee8943b3d9c48a29e6a38ec80ecfc50599b7cea5c /src/data/things
parent0fd10f2997db8ddec95e3caff94343eafdd9dda1 (diff)
data: 2x facepalm combobob
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/track.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index 8aa7ba26..30c6fe58 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -78,7 +78,7 @@ export class Track extends Thing {
       Track.composite.withAlbumProperties(['trackCoverArtistContribsByRef', 'trackCoverArtFileExtension']),
 
       {
-        flags: {update: true, expos: true},
+        flags: {update: true, expose: true},
         update: {validate: isFileExtension},
         expose: {
           dependencies: ['coverArtistContribsByRef', 'disableUniqueCoverArt'],
@@ -207,7 +207,7 @@ export class Track extends Thing {
             album: {trackCoverArtistContribsByRef},
           }) {
             if (disableUniqueCoverArt) return false;
-            if (!empty(coverArtistContribsByRef)) true;
+            if (!empty(coverArtistContribsByRef)) return true;
             if (!empty(trackCoverArtistContribsByRef)) return true;
             return false;
           },