Fixed: Don't allow profile delete if in use by import list

Fixes #280
This commit is contained in:
Qstick 2018-04-07 22:28:16 -04:00
parent e5c5a3f91c
commit fde276f000
10 changed files with 50 additions and 18 deletions

View file

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