Skip to content

Commit

Permalink
fix(core/pipeline): fix side menu rendering for trigger config (#7337)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy Louie committed Aug 16, 2019
1 parent 9fbfca1 commit 8361c0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class PageNavigator extends React.Component<IPageNavigatorProps, IPageNav
}

const pages = React.Children.map(children, (child: any) => {
if (child.type && child.type.name === 'PageSection') {
if (child.props.pageKey && child.props.label) {
return {
key: child.props.pageKey,
label: child.props.label,
Expand Down

0 comments on commit 8361c0a

Please sign in to comment.