From 15b1172dad091fa652dd3ede2a32ea7521555c9e Mon Sep 17 00:00:00 2001 From: argirok Date: Fri, 1 Nov 2024 14:14:50 +0200 Subject: [PATCH] [develop-16-deposit | DONE | CHANGED ] clean up my uploads - add login guard --- explore/src/app/app-routing.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explore/src/app/app-routing.module.ts b/explore/src/app/app-routing.module.ts index 06dcdef1..8cb80afe 100644 --- a/explore/src/app/app-routing.module.ts +++ b/explore/src/app/app-routing.module.ts @@ -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},