Fix unsetting performer gender (#1606)

* Fix unset performer gender
* Fix button group appearing over select menu
This commit is contained in:
WithoutPants 2021-08-03 13:13:48 +10:00 committed by GitHub
parent 8f3036b351
commit c7d2ddc5db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View file

@ -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))

View file

@ -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 ?? "",

View file

@ -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 {