Fixed: Add tooltip to tag delete button when in use
This commit is contained in:
parent
30b5a35db2
commit
4dc7089f89
|
@ -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}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue