fix(RolePicker): fix popover title for disabled roles

This commit is contained in:
41666 2020-02-08 00:54:28 -05:00
parent f5abf34449
commit 428773e174
No known key found for this signature in database
GPG key ID: BC51D07640DC10AF

View file

@ -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' : ''