forked from DebaucheryLibrarian/traxxx
Fixed birthdate interpolation and query.
This commit is contained in:
parent
a3306ad4e7
commit
d67dca60fc
|
@ -40,6 +40,7 @@ function initActorActions(store, router) {
|
|||
dateOfBirth
|
||||
dateOfDeath
|
||||
age
|
||||
dateOfBirth
|
||||
ageFromBirth
|
||||
ageAtDeath
|
||||
ethnicity
|
||||
|
@ -280,6 +281,7 @@ function initActorActions(store, router) {
|
|||
name
|
||||
slug
|
||||
age
|
||||
dateOfBirth
|
||||
ageFromBirth
|
||||
ageAtDeath
|
||||
dateOfBirth
|
||||
|
|
|
@ -107,7 +107,7 @@ function getMostFrequentDate(dates) {
|
|||
}
|
||||
|
||||
function getHighest(items) {
|
||||
return items.reduce((prevItem, item) => (item > prevItem ? item : prevItem), 0);
|
||||
return items.reduce((prevItem, item) => (item > prevItem ? item : prevItem), null);
|
||||
}
|
||||
|
||||
function getLongest(items) {
|
||||
|
|
Loading…
Reference in New Issue