mirror of
https://github.com/stashapp/stash.git
synced 2026-05-09 05:05:29 +02:00
`setConfigStrong` is a no op when the input pointer is nul. When the UI sends`null`, for when the user sets the setting back to no default, the old setting is saved. Was able to confirm this was testing. Selecting "none" in the dropdown keeps the previous setting saved and I think this is the issue. Built a helper or having the UI send "" instead of null could be possible solutions. - Updated GraphQL schema to clarify the behavior of `defaultPerformerGender`, allowing an empty string to clear the setting. - Implemented `applyDefaultPerformerGenderInput` function in the resolver to handle updates and clearing of the default performer gender. - Adjusted the settings panel to directly pass the value for `defaultPerformerGender`, simplifying the change handling. Made-with: Cursor |
||
|---|---|---|
| .. | ||
| login | ||
| v2.5 | ||
| ui.go | ||