mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix: fetch localized person details from TMDb (#1243)
* fix: fetch localized person details from TMDb * feat: include DOB, hometown, and alternate names on person detail pages * fix: remove unnecessary ternary operator * fix(ui): don't display AKA when empty
This commit is contained in:
@@ -8,6 +8,7 @@ import Media from '../entity/Media';
|
||||
export interface PersonDetail {
|
||||
id: number;
|
||||
name: string;
|
||||
birthday: string;
|
||||
deathday: string;
|
||||
knownForDepartment: string;
|
||||
alsoKnownAs?: string[];
|
||||
@@ -64,6 +65,7 @@ export interface CombinedCredit {
|
||||
export const mapPersonDetails = (person: TmdbPersonDetail): PersonDetail => ({
|
||||
id: person.id,
|
||||
name: person.name,
|
||||
birthday: person.birthday,
|
||||
deathday: person.deathday,
|
||||
knownForDepartment: person.known_for_department,
|
||||
alsoKnownAs: person.also_known_as,
|
||||
|
Reference in New Issue
Block a user