mirror of https://github.com/lidarr/Lidarr
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:
parent
efdf2fb41a
commit
b8377739b4
|
@ -163,6 +163,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