mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
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:
@@ -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}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user