Fixed age of passing in actor tile.
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
<span
|
<span
|
||||||
v-if="actor.ageAtDeath"
|
v-if="actor.ageAtDeath"
|
||||||
:title="`Passed ${formatDate(actor.ageAtDeath, 'MMMM d, yyyy')}`"
|
:title="`Passed ${formatDate(actor.dateOfDeath, 'MMMM d, yyyy')}`"
|
||||||
class="age age-death"
|
class="age age-death"
|
||||||
>{{ actor.ageAtDeath }}</span>
|
>{{ actor.ageAtDeath }}</span>
|
||||||
|
|
||||||
|
|||||||
@@ -80,6 +80,8 @@ export function curateActor(actor, context = {}) {
|
|||||||
ageThen: context.sceneDate && actor.date_of_birth && actor.date_of_birth.getFullYear() > 1
|
ageThen: context.sceneDate && actor.date_of_birth && actor.date_of_birth.getFullYear() > 1
|
||||||
? differenceInYears(context.sceneDate, actor.date_of_birth)
|
? differenceInYears(context.sceneDate, actor.date_of_birth)
|
||||||
: null,
|
: null,
|
||||||
|
dateOfBirth: actor.date_of_birth,
|
||||||
|
dateOfDeath: actor.date_of_death,
|
||||||
bust: actor.bust,
|
bust: actor.bust,
|
||||||
cup: actor.cup,
|
cup: actor.cup,
|
||||||
waist: actor.waist,
|
waist: actor.waist,
|
||||||
|
|||||||
Reference in New Issue
Block a user