[develop-16-deposit | DONE | CHANGED ] clean up my uploads - add login guard

This commit is contained in:
argirok 2024-11-01 14:14:50 +02:00
parent 2473c0dc9c
commit 15b1172dad
1 changed files with 1 additions and 1 deletions

View File

@ -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},