Browse Source

fix(ui): set description value to action button title

pull/3100/head
Gabe Kangas 3 years ago
parent
commit
fb5cb10aa2
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 1
      web/components/action-buttons/ActionButton/ActionButton.tsx

1
web/components/action-buttons/ActionButton/ActionButton.tsx

@ -23,6 +23,7 @@ export const ActionButton: FC<ActionButtonProps> = ({ @@ -23,6 +23,7 @@ export const ActionButton: FC<ActionButtonProps> = ({
className={cn([`${styles.button}`, 'action-button'])}
onClick={() => externalActionSelected(action)}
style={{ backgroundColor: color }}
title={description || title}
>
{icon && <img src={icon} className={`${styles.icon}`} alt={description} />}
{title}

Loading…
Cancel
Save