|
|
@ -218,7 +218,11 @@ class EditQualityProfileModalContent extends Component {
|
|
|
|
id &&
|
|
|
|
id &&
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
className={styles.deleteButtonContainer}
|
|
|
|
className={styles.deleteButtonContainer}
|
|
|
|
title={isInUse && 'Can\'t delete a quality profile that is attached to a series'}
|
|
|
|
title={
|
|
|
|
|
|
|
|
isInUse ?
|
|
|
|
|
|
|
|
'Can\'t delete a quality profile that is attached to a series' :
|
|
|
|
|
|
|
|
undefined
|
|
|
|
|
|
|
|
}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
kind={kinds.DANGER}
|
|
|
|
kind={kinds.DANGER}
|
|
|
|