Properly iterating through aliases in actor profile.
This commit is contained in:
parent
24ea7e0c5c
commit
fbbbd99d3d
|
@ -19,7 +19,13 @@
|
|||
class="bio-item"
|
||||
>
|
||||
<dfn class="bio-label">Also known as</dfn>
|
||||
<span>{{ actor.aliases.join(', ') }}</span>
|
||||
<span class="bio-value">
|
||||
<span
|
||||
v-for="alias in actor.aliases"
|
||||
:key="`alias-${alias.id}`"
|
||||
class="alias"
|
||||
>{{ alias.name }}</span>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
<Social
|
||||
|
@ -643,6 +649,10 @@ export default {
|
|||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.alias:not(:last-child)::after {
|
||||
content: ',\00a0';
|
||||
}
|
||||
|
||||
.scraped {
|
||||
color: var(--lighten-weak);
|
||||
font-size: .8rem;
|
||||
|
|
Loading…
Reference in New Issue