[develop-16-deposit | DONE | CHANGED ] clean up my uploads - add login guard
This commit is contained in:
parent
2473c0dc9c
commit
15b1172dad
|
@ -102,7 +102,7 @@ const routes: Routes = [
|
|||
// { path: 'claims-project-manager', loadChildren: './claims/claimsByToken/claimsByToken.module#LibClaimsByTokenModule'},
|
||||
// help pages - do not exist in Admin portal/api/db
|
||||
{path: 'deposit', loadChildren: () => import('./openaireLibrary/deposit/deposit-grant-redirect/deposit.module').then(m => m.DepositModule)},
|
||||
{path: 'my-uploads', loadComponent: () => import('./openaireLibrary/deposit/my-uploads/my-uploads.component').then(m => m.MyUploadsComponent), canActivate:[/*LoginGuard*/]},
|
||||
{path: 'my-uploads', loadComponent: () => import('./openaireLibrary/deposit/my-uploads/my-uploads.component').then(m => m.MyUploadsComponent), canActivate:[LoginGuard]},
|
||||
{path: 'reload', loadChildren: () => import('./openaireLibrary/reload/reload.module').then(m => m.ReloadModule)},
|
||||
{path: 'user-info', loadChildren: () => import('./openaireLibrary/login/user.module').then(m => m.UserModule)},
|
||||
{path: 'error', component: ErrorPageComponent},
|
||||
|
|
Loading…
Reference in New Issue