Filter Woodman photos from actor page.
This commit is contained in:
parent
6281842a14
commit
c026988a7b
|
|
@ -93,7 +93,8 @@ const { actor } = pageProps;
|
|||
|
||||
const domain = routeParams.domain;
|
||||
|
||||
const photos = actor.photos.filter((photo) => photo.entropy > 5.5);
|
||||
const badCredits = ['Pierre Woodman']; // consistently horrible photos
|
||||
const photos = actor.photos.filter((photo) => photo.entropy > 5.5 && !badCredits.includes(photo.credit));
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
|
|
|||
Loading…
Reference in New Issue