Fixed: Add tooltip to tag delete button when in use

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
pull/908/head
Qstick 5 years ago
parent efdf2fb41a
commit b8377739b4

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

Loading…
Cancel
Save