mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 01:37:07 +00:00
Fix boolean for title prop warning
This commit is contained in:
parent
e611dc43c5
commit
fbbd85d8b2
1 changed files with 5 additions and 1 deletions
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue