Merge pull request #11313 from influxdata/fix/11304
fix(ui): update IndexRoute to MePagepull/11413/head
commit
3d1978ca17
|
@ -98,7 +98,7 @@ class Root extends PureComponent {
|
||||||
<Route component={App}>
|
<Route component={App}>
|
||||||
<Route component={GetSources}>
|
<Route component={GetSources}>
|
||||||
<Route component={SetActiveSource}>
|
<Route component={SetActiveSource}>
|
||||||
<IndexRoute component={DashboardsIndex} />
|
<IndexRoute component={MePage} />
|
||||||
<Route path="organizations">
|
<Route path="organizations">
|
||||||
<IndexRoute component={OrganizationsIndex} />
|
<IndexRoute component={OrganizationsIndex} />
|
||||||
<Route
|
<Route
|
||||||
|
|
|
@ -135,7 +135,7 @@ class SigninForm extends PureComponent<Props, State> {
|
||||||
if (query && query.returnTo) {
|
if (query && query.returnTo) {
|
||||||
router.push(query.returnTo)
|
router.push(query.returnTo)
|
||||||
} else {
|
} else {
|
||||||
router.push('/me')
|
router.push('/')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue