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
1 changed files with 1 additions and 0 deletions

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}
>