feat(console): deactivate, reactivate org, fix signedout route (#3834)

* org detail

* feat: org deactivate, reactivate

* statehandler includes instead of startsWith

* fix signout route

* Update console/src/assets/i18n/de.json

Co-authored-by: Livio Spring <[email protected]>

* french

Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Max Peintner
2022-07-08 06:58:23 +00:00
committed by GitHub
co-authored by Livio Spring
parent 91771bc49b
commit 190a454140
22 changed files with 316 additions and 202 deletions
+5 -10
View File
@@ -13,6 +13,10 @@ const routes: Routes = [
loadChildren: () => import('./pages/home/home.module').then((m) => m.HomeModule),
canActivate: [AuthGuard],
},
{
path: 'signedout',
loadChildren: () => import('./pages/signedout/signedout.module').then((m) => m.SignedoutModule),
},
{
path: 'orgs',
loadChildren: () => import('./pages/org-list/org-list.module').then((m) => m.OrgListModule),
@@ -38,12 +42,7 @@ const routes: Routes = [
{
path: 'users',
canActivate: [AuthGuard],
children: [
{
path: '',
loadChildren: () => import('src/app/pages/users/users.module').then((m) => m.UsersModule),
},
],
loadChildren: () => import('src/app/pages/users/users.module').then((m) => m.UsersModule),
},
{
path: 'instance',
@@ -170,10 +169,6 @@ const routes: Routes = [
roles: ['policy.read'],
},
},
{
path: 'signedout',
loadChildren: () => import('./pages/signedout/signedout.module').then((m) => m.SignedoutModule),
},
{
path: '**',
redirectTo: '/',