fix: various fixes for new tags feature (#1369)

* fix(backend): fix movie override tags check

* fix(lang): fix 'no tags' and 'anime tags' strings

* fix(logging): correct capitalization of Radarr/Sonarr

* fix(ui): consistently disable tag select / display loading placeholder
This commit is contained in:
TheCatLady
2021-04-05 18:56:21 -04:00
committed by GitHub
parent 7a5c4a30b5
commit b4450a308c
5 changed files with 32 additions and 23 deletions

View File

@@ -35,7 +35,7 @@ const messages = defineMessages({
languageprofile: 'Language Profile',
tags: 'Tags',
selecttags: 'Select tags',
notagoptions: 'No Tags',
notagoptions: 'No tags.',
});
export type RequestOverrides = {
@@ -466,7 +466,12 @@ const AdvancedRequester: React.FC<AdvancedRequesterProps> = ({
value: tag.id,
}))}
isMulti
placeholder={intl.formatMessage(messages.selecttags)}
isDisabled={isValidating || !serverData}
placeholder={
isValidating || !serverData
? intl.formatMessage(globalMessages.loading)
: intl.formatMessage(messages.selecttags)
}
className="react-select-container react-select-container-dark"
classNamePrefix="react-select"
value={selectedTags.map((tagId) => {