Hiding low-entropy photos from actor page. Fixed actors filter tab spacing. Fixed entity logo stretching on compact scene page.
This commit is contained in:
@@ -37,10 +37,10 @@
|
||||
|
||||
<div
|
||||
class="photos nobar"
|
||||
:class="{ 'has-avatar': actor.avatar, 'has-photos': actor.avatar ? actor.photos.length > 1 : actor.photos.length > 0 }"
|
||||
:class="{ 'has-avatar': actor.avatar, 'has-photos': actor.avatar ? photos.length > 1 : photos.length > 0 }"
|
||||
>
|
||||
<div
|
||||
v-for="photo in actor.photos"
|
||||
v-for="photo in photos"
|
||||
:key="`photo-${photo.id}`"
|
||||
class="photo-container"
|
||||
:class="{ avatar: photo.isAvatar }"
|
||||
@@ -92,6 +92,8 @@ const { pageProps, routeParams } = pageContext;
|
||||
const { actor } = pageProps;
|
||||
|
||||
const domain = routeParams.domain;
|
||||
|
||||
const photos = actor.photos.filter((photo) => !photo.entropy || photo.entropy > 5.5);
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user