mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-02-20 12:43:28 +02:00
Fix boolean for title prop warning
This commit is contained in:
parent
e611dc43c5
commit
fbbd85d8b2
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user