1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-02-24 15:11:27 +00:00

Fixed: Add tooltip to tag delete button when in use

This commit is contained in:
Mark McDowall 2019-07-21 18:28:18 -07:00
parent 30b5a35db2
commit 4dc7089f89

View file

@ -147,6 +147,7 @@ function TagDetailsModalContent(props) {
<Button <Button
className={styles.deleteButton} className={styles.deleteButton}
kind={kinds.DANGER} kind={kinds.DANGER}
title={isTagUsed ? 'Cannot be deleted while in use' : undefined}
isDisabled={isTagUsed} isDisabled={isTagUsed}
onPress={onDeleteTagPress} onPress={onDeleteTagPress}
> >