« 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
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things.js1
-rw-r--r--src/data/yaml.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/data/things.js b/src/data/things.js
index 4cc5d061..b2251430 100644
--- a/src/data/things.js
+++ b/src/data/things.js
@@ -474,6 +474,7 @@ Album.propertyDescriptors = {
         update: {validate: isDimensions}
     },
 
+    hasCoverArt: Thing.common.flag(true),
     hasTrackArt: Thing.common.flag(true),
     isMajorRelease: Thing.common.flag(false),
     isListedOnHomepage: Thing.common.flag(true),
diff --git a/src/data/yaml.js b/src/data/yaml.js
index fdb7d9c1..2e0e985a 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -219,6 +219,7 @@ export const processAlbumDocument = makeProcessDocument(Album, {
         coverArtDate: 'Cover Art Date',
         dateAddedToWiki: 'Date Added',
 
+        hasCoverArt: 'Has Cover Art',
         hasTrackArt: 'Has Track Art',
         isMajorRelease: 'Major Release',
         isListedOnHomepage: 'Listed on Homepage',