Skip to content

Commit

Permalink
Add performer deathdate
Browse files Browse the repository at this point in the history
  • Loading branch information
InfiniteStash committed Dec 10, 2024
1 parent 4b0b139 commit 197618c
Show file tree
Hide file tree
Showing 28 changed files with 758 additions and 23 deletions.
7 changes: 7 additions & 0 deletions frontend/src/components/editCard/ModifyEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export interface PerformerDetails {
gender?: GenderEnum | null;
disambiguation?: string | null;
birthdate?: string | null;
deathdate?: string | null;
career_start_year?: number | null;
career_end_year?: number | null;
height?: number | null;
Expand Down Expand Up @@ -199,6 +200,12 @@ export const renderPerformerDetails = (
oldValue={oldPerformerDetails?.birthdate}
showDiff={showDiff}
/>
<ChangeRow
name="Deathdate"
newValue={performerDetails.deathdate}
oldValue={oldPerformerDetails?.deathdate}
showDiff={showDiff}
/>
<ChangeRow
name="Eye Color"
newValue={
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/graphql/fragments/EditFragment.gql
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ fragment EditFragment on Edit {
...URLFragment
}
birthdate
deathdate
ethnicity
country
eye_color
Expand Down Expand Up @@ -193,6 +194,7 @@ fragment EditFragment on Edit {
disambiguation
gender
birthdate
deathdate
ethnicity
country
eye_color
Expand Down
1 change: 1 addition & 0 deletions frontend/src/graphql/fragments/PerformerFragment.gql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ fragment PerformerFragment on Performer {
aliases
gender
birth_date
death_date
age
height
hair_color
Expand Down
1 change: 1 addition & 0 deletions frontend/src/graphql/queries/EditUpdate.gql
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ query EditUpdate($id: ID!) {
disambiguation
gender
birthdate
deathdate
ethnicity
country
eye_color
Expand Down
Loading

0 comments on commit 197618c

Please sign in to comment.