Skip to content
Snippets Groups Projects
Commit 04b4c47e authored by otho's avatar otho
Browse files

fix(route): profile selection route has correct format

parent d6849e4a
No related branches found
No related tags found
1 merge request!559Resolve "profile selection route should not be in camel case"
Pipeline #14662 passed
......@@ -127,7 +127,7 @@ function MainLayout({ appsettings, ready }) {
<Route exact path="/" component={PersonalPage} />
<Route exact path="/profile" component={ProfilePage} />
<Route exact path="/contact" component={ContactPage} />
<Route exact path="/profileStructureSelection" component={StructureSelectionPage} />
<Route exact path="/profilestructureselection" component={StructureSelectionPage} />
<Route exact path="/services" component={ServicesPage} />
<Route exact path="/structure" component={ServicesPage} />
<Route exact path="/help" component={HelpPage} />
......@@ -167,7 +167,7 @@ function MainLayout({ appsettings, ready }) {
) : (
<Switch>
<Route exact path="/profile" component={ProfilePage} />
<Route exact path="/profileStructureSelection" component={StructureSelectionPage} />
<Route exact path="/profilestructureselection" component={StructureSelectionPage} />
{!disabledFeatures.introductionTab && (
<Route exact path="/introduction" component={IntroductionPage} />
)}
......
......@@ -629,7 +629,7 @@ const ProfilePage = () => {
/>
</FormControl>
<FormControl variant="filled" className={classes.formControl} fullWidth>
<Button variant="outlined" onClick={() => history.push('/profileStructureSelection')}>
<Button variant="outlined" onClick={() => history.push('/profilestructureselection')}>
{i18n.__('pages.ProfilePage.openStructureSelection')}
</Button>
</FormControl>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment