Added unidentified actors and actor count filters.
This commit is contained in:
@@ -33,7 +33,7 @@ const aliasTooltipId = useId();
|
||||
>
|
||||
<div class="avatar-container">
|
||||
<Link
|
||||
:href="`/actor/${actor.id}/${actor.slug}`"
|
||||
:href="actor.isUnknown ? null : `/actor/${actor.id}/${actor.slug}`"
|
||||
class="avatar-link no-link"
|
||||
>
|
||||
<img
|
||||
@@ -101,10 +101,16 @@ const aliasTooltipId = useId();
|
||||
|
||||
<span class="label">
|
||||
<span
|
||||
v-if="actor.name"
|
||||
class="name ellipsis"
|
||||
:style="{ 'font-size': `${Math.max(0.9 + Math.min((17 - actor.name.length), 0) * 0.06, 0.65)}rem` }"
|
||||
>{{ actor.name }}</span>
|
||||
|
||||
<span
|
||||
v-else
|
||||
class="name unknown"
|
||||
>Unknown {{ actor.gender }}</span>
|
||||
|
||||
<img
|
||||
v-if="actor.entity"
|
||||
v-tooltip="{ content: actor.entity.name, ariaId: entityTooltipId }"
|
||||
@@ -179,6 +185,10 @@ const aliasTooltipId = useId();
|
||||
|
||||
.name {
|
||||
padding: 0 .25rem 0 .5rem;
|
||||
|
||||
&.unknown {
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.favicon {
|
||||
|
||||
Reference in New Issue
Block a user