groups: fix details + settings routing overwrites

This commit is contained in:
Matilde Park 2020-03-06 16:08:06 -05:00
parent 07dde3efb2
commit ed9794817b

View File

@ -82,7 +82,7 @@ export class Root extends Component {
</Skeleton>
);
}} />
<Route exact path="/~groups/:detail?/:ship/:group/"
<Route exact path="/~groups/(detail)?/(settings)?/:ship/:group/"
render={ (props) => {
let groupPath =
`/${props.match.params.ship}/${props.match.params.group}`;