1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 01:06:30 +00:00

Fix boolean for title prop warning

This commit is contained in:
Mark McDowall 2019-07-16 22:01:19 -07:00
parent e611dc43c5
commit fbbd85d8b2

View file

@ -218,7 +218,11 @@ class EditQualityProfileModalContent extends Component {
id &&
<div
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
kind={kinds.DANGER}