stash/ui
KennyG b23d83f990 Creating handler to clear setting.
`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
2026-04-30 19:47:45 -04:00
..
login Encode credentials during login (#6163) 2025-10-21 19:04:44 +11:00
v2.5 Creating handler to clear setting. 2026-04-30 19:47:45 -04:00
ui.go Login page internationalisation (#5765) 2025-03-27 11:56:43 +11:00