mirror of
https://github.com/stashapp/stash.git
synced 2026-04-27 01:10:55 +02:00
Minor UI fixes (#4509)
* Fix a zero value disabling the SettingModal * Fix performer disambiguation styling * Fix performer tagger error message
This commit is contained in:
parent
1588d1cb4e
commit
d82c526ada
4 changed files with 10 additions and 3 deletions
|
|
@ -233,6 +233,10 @@
|
|||
}
|
||||
|
||||
.performer-select {
|
||||
.performer-disambiguation {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.alias {
|
||||
font-weight: bold;
|
||||
white-space: pre;
|
||||
|
|
|
|||
|
|
@ -322,7 +322,10 @@ export const SettingModal = <T extends {}>(props: ISettingModal<T>) => {
|
|||
type="submit"
|
||||
variant="primary"
|
||||
onClick={() => close(currentValue)}
|
||||
disabled={!currentValue || (validate && !validate(currentValue))}
|
||||
disabled={
|
||||
currentValue === undefined ||
|
||||
(validate && !validate(currentValue))
|
||||
}
|
||||
>
|
||||
<FormattedMessage id="actions.confirm" />
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -518,6 +518,6 @@ div.react-datepicker {
|
|||
}
|
||||
|
||||
.react-select-image-option {
|
||||
align-items: center;
|
||||
align-items: baseline;
|
||||
display: flex;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -356,7 +356,7 @@ const PerformerTaggerList: React.FC<IPerformerTaggerListProps> = ({
|
|||
[performerID]: {
|
||||
message: intl.formatMessage(
|
||||
{ id: "performer_tagger.failed_to_save_performer" },
|
||||
{ studio: modalPerformer?.name }
|
||||
{ performer: modalPerformer?.name }
|
||||
),
|
||||
details:
|
||||
message === "UNIQUE constraint failed: performers.name"
|
||||
|
|
|
|||
Loading…
Reference in a new issue