diff --git a/scm-ui-components/packages/ui-components/src/layout/Page.js b/scm-ui-components/packages/ui-components/src/layout/Page.js index ef4363cd8f..403bae91e6 100644 --- a/scm-ui-components/packages/ui-components/src/layout/Page.js +++ b/scm-ui-components/packages/ui-components/src/layout/Page.js @@ -51,7 +51,7 @@ class Page extends React.Component { let pageActionsExists = false; React.Children.forEach(children, child => { if (child && !error) { - if (child.type.name === PageActions.name) + if (child.type.name === PageActions.name) { pageActions = (
{ {child}
); - pageActionsExists = true; + pageActionsExists = true; + } } }); let underline = pageActionsExists ? (