mirror of
https://github.com/strapi/strapi.git
synced 2025-08-03 14:28:40 +00:00
Fix PluginHeaderActions map issue
This commit is contained in:
parent
863a7c9fc7
commit
c20d0f72f8
@ -10,7 +10,7 @@ import styles from './styles.scss';
|
||||
|
||||
class PluginHeaderActions extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
||||
render() {
|
||||
const actions = this.props.actions.map((action, i) => (
|
||||
const actions = this.props.actions && this.props.actions.map((action, i) => (
|
||||
<button
|
||||
key={i}
|
||||
className={`btn ${action.class} ${styles.btn}`}
|
||||
|
Loading…
x
Reference in New Issue
Block a user