From 723a8b9e79601f445fd83517ba93c75e93368b47 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 23 Jan 2026 20:16:30 -0400 Subject: find: stop providing thingConstructors to include() --- src/data/things/album.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/data/things/album.js') diff --git a/src/data/things/album.js b/src/data/things/album.js index c9999f7c..b93c7479 100644 --- a/src/data/things/album.js +++ b/src/data/things/album.js @@ -513,9 +513,9 @@ export class Album extends Thing { bindTo: 'artworkData', - include: (artwork, {Artwork, Album}) => - artwork instanceof Artwork && - artwork.thing instanceof Album && + include: (artwork) => + artwork.isArtwork && + artwork.thing.isAlbum && artwork === artwork.thing.coverArtworks[0], getMatchableNames: ({thing: album}) => -- cgit 1.3.0-6-gf8a5