Commit ed011cb5 authored by Matija Obreza's avatar Matija Obreza

Merge branch '635-oauth-client-details-not-loading' into 'master'

Resolve "Oauth client details not loading"

Closes #635

See merge request genesys-pgr/genesys-ui!622
parents 507e811b 6195786a
......@@ -109,43 +109,43 @@ const adminRoutes = [
},
},
{
path: '/oauth/:filterCode(v.+)?',
path: '/oauth/:clientId(.+@.+)',
component: Loadable({
loader: () => import(/* webpackMode:"lazy", webpackChunkName: "user" */'user/ui/admin/OAuthBrowsePage'),
loader: () => import(/* webpackMode:"lazy", webpackChunkName: "user" */'user/ui/admin/OAuthDisplayPage'),
}),
exact: true,
extraProps: {
title: 'OAuth clients',
title: 'OAuth details',
},
},
{
path: '/oauth/edit',
path: '/oauth/:clientId(.+@.+)/edit',
component: Loadable({
loader: () => import(/* webpackMode:"lazy", webpackChunkName: "user" */'user/ui/admin/OAuthEditPage'),
}),
exact: true,
extraProps: {
title: 'Create OAuth client',
title: 'Edit OAuth client',
},
},
{
path: '/oauth/:clientId',
path: '/oauth/:filterCode(v.+)?',
component: Loadable({
loader: () => import(/* webpackMode:"lazy", webpackChunkName: "user" */'user/ui/admin/OAuthDisplayPage'),
loader: () => import(/* webpackMode:"lazy", webpackChunkName: "user" */'user/ui/admin/OAuthBrowsePage'),
}),
exact: true,
extraProps: {
title: 'OAuth details',
title: 'OAuth clients',
},
},
{
path: '/oauth/:clientId/edit',
path: '/oauth/edit',
component: Loadable({
loader: () => import(/* webpackMode:"lazy", webpackChunkName: "user" */'user/ui/admin/OAuthEditPage'),
}),
exact: true,
extraProps: {
title: 'Edit OAuth client',
title: 'Create OAuth client',
},
},
];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment