Skip to content

Commit

Permalink
Fix unsetting performer gender (#1606)
Browse files Browse the repository at this point in the history
* Fix unset performer gender
* Fix button group appearing over select menu
  • Loading branch information
WithoutPants authored Aug 3, 2021
1 parent 8f3036b commit c7d2ddc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ui/v2.5/src/components/Changelog/versions/v090.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Added de-DE language option. ([#1578](https://github.com/stashapp/stash/pull/1578))

### 🐛 Bug fixes
* Fix unsetting performer gender not working correctly. ([#1606](https://github.com/stashapp/stash/pull/1606))
* Fix is missing date scene criterion causing invalid SQL. ([#1577](https://github.com/stashapp/stash/pull/1577))
* Fix rendering of carousel images on Apple devices. ([#1562](https://github.com/stashapp/stash/pull/1562))
* Show New and Delete buttons in mobile view. ([#1539](https://github.com/stashapp/stash/pull/1539))
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ export const PerformerEditPanel: React.FC<IPerformerDetails> = ({
function getUpdateValues(values: InputValues): GQL.PerformerUpdateInput {
return {
...values,
gender: stringToGender(values.gender),
gender: stringToGender(values.gender) ?? null,
rating: values.rating ?? null,
weight: Number(values.weight),
id: performer.id ?? "",
Expand Down
1 change: 1 addition & 0 deletions ui/v2.5/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ div.react-select__menu,
div.dropdown-menu {
background-color: $secondary;
color: $text-color;
z-index: 3;

.react-select__option,
.dropdown-item {
Expand Down

0 comments on commit c7d2ddc

Please sign in to comment.