update route group params

This commit is contained in:
Jake McDermott
2019-01-03 09:40:48 -05:00
parent 3e201d3ca0
commit dce50fe18b
6 changed files with 46 additions and 45 deletions

View File

@@ -25,7 +25,7 @@ class NavExpandableGroup extends Component {
};
render () {
const { routes, groupId, staticContext, ...rest } = this.props;
const { groupId, groupTitle, routes } = this.props;
const isActive = this.isActiveGroup();
return (
@@ -33,7 +33,7 @@ class NavExpandableGroup extends Component {
isActive={isActive}
isExpanded={isActive}
groupId={groupId}
{...rest}
title={groupTitle}
>
{routes.map(({ path, title }) => (
<NavItem