diff --git a/src/app/upload-dois/upload-dois-routing.module.ts b/src/app/upload-dois/upload-dois-routing.module.ts index 1acd0b3..4b99430 100644 --- a/src/app/upload-dois/upload-dois-routing.module.ts +++ b/src/app/upload-dois/upload-dois-routing.module.ts @@ -1,13 +1,14 @@ import {NgModule} from "@angular/core"; import {RouterModule} from "@angular/router"; import {UploadDoisComponent} from "./upload-dois.component"; +import {LoginGuard} from "../openaireLibrary/login/loginGuard.guard"; @NgModule({ imports: [ RouterModule.forChild([ { path: '', - component: UploadDoisComponent + component: UploadDoisComponent, canActivate: [LoginGuard] } ]) ] diff --git a/src/app/upload-dois/upload-dois.component.html b/src/app/upload-dois/upload-dois.component.html index 3e370ef..5588e6f 100644 --- a/src/app/upload-dois/upload-dois.component.html +++ b/src/app/upload-dois/upload-dois.component.html @@ -7,7 +7,7 @@

Title

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore.
-
+