Fixed: Add tooltip to tag delete button when in use

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick 2019-08-04 22:24:44 -04:00
parent efdf2fb41a
commit b8377739b4
1 changed files with 1 additions and 0 deletions

View File

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