mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-24 19:59:12 +00:00
fix(RolePicker): fix popover title for disabled roles
This commit is contained in:
parent
f5abf34449
commit
428773e174
1 changed files with 4 additions and 1 deletions
|
@ -35,7 +35,10 @@ class Role extends Component {
|
|||
}
|
||||
}}
|
||||
{...(disabled
|
||||
? { 'uk-tooltip': '', title: "I don't have permissions to grant this." }
|
||||
? {
|
||||
'uk-tooltip': `I don't have permissions to grant this.`,
|
||||
title: "I don't have permissions to grant this.",
|
||||
}
|
||||
: {})}
|
||||
className={`role font-sans-serif ${disabled ? 'disabled' : ''} ${
|
||||
isDragging ? 'is-dragging' : ''
|
||||
|
|
Loading…
Add table
Reference in a new issue