mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03: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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user