From 8fd50d6f0ba8dcfcfe34eb1321dc0bdd307b8c6a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 5 May 2022 19:33:01 -0300 Subject: support albums without cover art --- src/data/things.js | 1 + src/data/yaml.js | 1 + 2 files changed, 2 insertions(+) (limited to 'src/data') 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', -- cgit 1.3.0-6-gf8a5