diff --git a/dmp-frontend/src/app/app-routing.module.ts b/dmp-frontend/src/app/app-routing.module.ts index af24b0197..6bb89a47e 100644 --- a/dmp-frontend/src/app/app-routing.module.ts +++ b/dmp-frontend/src/app/app-routing.module.ts @@ -17,7 +17,9 @@ const appRoutes: Routes = [ @NgModule({ imports: [ RouterModule.forRoot( - appRoutes) + appRoutes + // { enableTracing: true } // <-- debugging purposes only + ) ], exports: [ RouterModule diff --git a/dmp-frontend/src/app/app.module.ts b/dmp-frontend/src/app/app.module.ts index d95a89b22..1c0deaccf 100644 --- a/dmp-frontend/src/app/app.module.ts +++ b/dmp-frontend/src/app/app.module.ts @@ -18,6 +18,7 @@ import { AuthGuard } from './guards/auth.guard'; import { PageNotFoundComponent } from './not-found.component'; import { TocComponent } from './form/tableOfContents/toc.component'; import { ProjectsModule } from './projects/project.module'; +import { PaginationService } from './services/pagination.service'; @NgModule({ declarations: [ @@ -40,7 +41,7 @@ import { ProjectsModule } from './projects/project.module'; AppRoutingModule ], - providers: [ServerService, dataModelBuilder, AuthGuard], + providers: [ServerService, dataModelBuilder, AuthGuard, PaginationService], bootstrap: [AppComponent] }) export class AppModule { diff --git a/dmp-frontend/src/app/form/dynamic-form.component.html b/dmp-frontend/src/app/form/dynamic-form.component.html index 6fb122208..da0ce1c4c 100644 --- a/dmp-frontend/src/app/form/dynamic-form.component.html +++ b/dmp-frontend/src/app/form/dynamic-form.component.html @@ -47,7 +47,26 @@ - +
+ + +