Fixed files that were using incorrect imports

pull/4438/head
Mark McDowall 4 years ago
parent bd83a2af88
commit a3bb2f1c32

@ -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 [];

@ -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}

@ -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}

@ -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}`
}; };

Loading…
Cancel
Save