Fixed files that were using incorrect imports

This commit is contained in:
Mark McDowall 2021-04-23 19:41:25 -07:00
parent bd83a2af88
commit a3bb2f1c32
4 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@ function createTagListSelector() {
(selectedFilterBuilderProp.type === filterBuilderTypes.NUMBER || (selectedFilterBuilderProp.type === filterBuilderTypes.NUMBER ||
selectedFilterBuilderProp.type === filterBuilderTypes.STRING) && selectedFilterBuilderProp.type === filterBuilderTypes.STRING) &&
filterType !== filterTypes.EQUAL && filterType !== filterTypes.EQUAL &&
filterType !== filterBuilderTypes.NOT_EQUAL || filterType !== filterTypes.NOT_EQUAL ||
!selectedFilterBuilderProp.optionsSelector !selectedFilterBuilderProp.optionsSelector
) { ) {
return []; return [];

View File

@ -101,7 +101,7 @@ onCloneLanguageProfilePress
return ( return (
<Label <Label
key={item.language.id} key={item.language.id}
kind={isCutoff ? kinds.INFO : kinds.default} kind={isCutoff ? kinds.INFO : kinds.DEFAULT}
title={isCutoff ? 'Upgrade until this language is met or exceeded' : null} title={isCutoff ? 'Upgrade until this language is met or exceeded' : null}
> >
{item.language.name} {item.language.name}

View File

@ -103,7 +103,7 @@ class QualityProfile extends Component {
return ( return (
<Label <Label
key={item.quality.id} key={item.quality.id}
kind={isCutoff ? kinds.INFO : kinds.default} kind={isCutoff ? kinds.INFO : kinds.DEFAULT}
title={isCutoff ? 'Upgrade until this quality is met or exceeded' : null} title={isCutoff ? 'Upgrade until this quality is met or exceeded' : null}
> >
{item.quality.name} {item.quality.name}
@ -119,7 +119,7 @@ class QualityProfile extends Component {
className={styles.tooltipLabel} className={styles.tooltipLabel}
anchor={ anchor={
<Label <Label
kind={isCutoff ? kinds.INFO : kinds.default} kind={isCutoff ? kinds.INFO : kinds.DEFAULT}
title={isCutoff ? 'Cutoff' : null} title={isCutoff ? 'Cutoff' : null}
> >
{item.name} {item.name}
@ -132,7 +132,7 @@ class QualityProfile extends Component {
return ( return (
<Label <Label
key={groupItem.quality.id} key={groupItem.quality.id}
kind={isCutoff ? kinds.INFO : kinds.default} kind={isCutoff ? kinds.INFO : kinds.DEFAULT}
title={isCutoff ? 'Cutoff' : null} title={isCutoff ? 'Cutoff' : null}
> >
{groupItem.quality.name} {groupItem.quality.name}

View File

@ -40,7 +40,7 @@ function getStatusIconProps(status, message) {
case 'failed': case 'failed':
return { return {
name: icons.FATAL, name: icons.FATAL,
kind: kinds.ERROR, kind: kinds.DANGER,
title: `${title}: ${message}` title: `${title}: ${message}`
}; };