add hoverables to roles

This commit is contained in:
41666 2018-11-29 10:30:26 -06:00
parent 57d8544728
commit 84ebabd749

View file

@ -37,6 +37,7 @@ class Role extends Component {
} }
{...((disabled) ? { 'uk-tooltip': '', title: "I don't have permissions to grant this." } : {})} {...((disabled) ? { 'uk-tooltip': '', title: "I don't have permissions to grant this." } : {})}
className={`role font-sans-serif ${(disabled) ? 'disabled' : ''} ${(isDragging) ? 'is-dragging' : ''} role__${type}`} className={`role font-sans-serif ${(disabled) ? 'disabled' : ''} ${(isDragging) ? 'is-dragging' : ''} role__${type}`}
title={role.get('name')}
style={{ style={{
'--role-color-hex': c.string(), '--role-color-hex': c.string(),
'--role-color-hover': hc.string(), '--role-color-hover': hc.string(),