« get me outta code hell

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:
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;
           },