Guard against empty arrays of dropdown actions
parent
01b88e23f5
commit
6fcef2ee37
|
@ -164,7 +164,7 @@ class Dropdown extends Component {
|
|||
>
|
||||
{item.text}
|
||||
</a>
|
||||
{actions
|
||||
{actions && actions.length
|
||||
? <div className="dropdown-actions">
|
||||
{actions.map(action => {
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue