diff options
Diffstat (limited to 'src/data/things/album.js')
-rw-r--r-- | src/data/things/album.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js index 35cf1f3e..3f3f195a 100644 --- a/src/data/things/album.js +++ b/src/data/things/album.js @@ -337,6 +337,14 @@ export class Album extends Thing { referenceTypes: ['album', 'album-commentary', 'album-gallery'], bindTo: 'albumData', }, + + albumWithArtwork: { + referenceTypes: ['album'], + bindTo: 'albumData', + + include: album => + album.hasCoverArt, + }, }; static [Thing.yamlDocumentSpec] = { |