1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02: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
className={styles.deleteButton}
kind={kinds.DANGER}
title={isTagUsed ? 'Cannot be deleted while in use' : undefined}
isDisabled={isTagUsed}
onPress={onDeleteTagPress}
>