Skip to content

Commit

Permalink
add non-binary option for gender (stashapp#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
reynn authored Aug 1, 2020
1 parent b71dd98 commit 1a63f6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions graphql/schema/types/performer.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ enum GenderEnum {
TRANSGENDER_MALE
TRANSGENDER_FEMALE
INTERSEX
NON_BINARY
}

type Performer {
Expand Down
1 change: 1 addition & 0 deletions ui/v2.5/src/core/StashService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ export const stringGenderMap = new Map<string, GQL.GenderEnum>([
["Transgender Male", GQL.GenderEnum.TransgenderMale],
["Transgender Female", GQL.GenderEnum.TransgenderFemale],
["Intersex", GQL.GenderEnum.Intersex],
["Non-Binary", GQL.GenderEnum.NonBinary],
]);

export const genderToString = (value?: GQL.GenderEnum) => {
Expand Down

0 comments on commit 1a63f6a

Please sign in to comment.