Fixed files that were using incorrect imports

(cherry picked from commit a3bb2f1c32fc1e0c49d0d1fe24c04940453f5431)
(cherry picked from commit 9ebdc5364c69971fde5a0c854a2d46d6b027fd5f)
pull/1016/head
Mark McDowall 4 years ago committed by ta264
parent 00e4555736
commit 7d4c92cc96

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

@ -104,7 +104,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 ? translate('IsCutoffUpgradeUntilThisQualityIsMetOrExceeded') : null} title={isCutoff ? translate('IsCutoffUpgradeUntilThisQualityIsMetOrExceeded') : null}
> >
{item.quality.name} {item.quality.name}
@ -120,7 +120,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 ? translate('IsCutoffCutoff') : null} title={isCutoff ? translate('IsCutoffCutoff') : null}
> >
{item.name} {item.name}
@ -133,7 +133,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 ? translate('IsCutoffCutoff') : null} title={isCutoff ? translate('IsCutoffCutoff') : null}
> >
{groupItem.quality.name} {groupItem.quality.name}

@ -41,7 +41,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