From 0bda9ecfcd0319191c54b1c506b4f8649ad52527 Mon Sep 17 00:00:00 2001 From: Nikolaos Laskaris Date: Fri, 27 Oct 2017 11:34:05 +0300 Subject: [PATCH] minor changes --- dmp-frontend/src/app/app.module.ts | 2 ++ dmp-frontend/src/app/datasets/dataset.component.ts | 2 +- dmp-frontend/src/app/dmps/dmp.component.ts | 2 +- dmp-frontend/src/app/projects/projects.component.ts | 2 +- dmp-frontend/src/app/services/interceptor.ts | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dmp-frontend/src/app/app.module.ts b/dmp-frontend/src/app/app.module.ts index 34b42b172..882838ec7 100644 --- a/dmp-frontend/src/app/app.module.ts +++ b/dmp-frontend/src/app/app.module.ts @@ -29,6 +29,8 @@ import { DatasetsModule } from './datasets/dataset.module'; import { DmpModule } from './dmps/dmp.module'; import { TabModule } from './tabs/tab.module'; +import { HTTP_INTERCEPTORS } from '@angular/common/http'; + @NgModule({ declarations: [ AppComponent, diff --git a/dmp-frontend/src/app/datasets/dataset.component.ts b/dmp-frontend/src/app/datasets/dataset.component.ts index 5cb427a8e..dee3b502d 100644 --- a/dmp-frontend/src/app/datasets/dataset.component.ts +++ b/dmp-frontend/src/app/datasets/dataset.component.ts @@ -4,7 +4,7 @@ import { Router, ActivatedRoute } from '@angular/router'; import { ServerService } from '../../app/services/server.service'; import { Project } from '../entities/model/project'; import { Dataset } from '../entities/model/dataset'; -import { Dmp } from '../entities/model/Dmp'; +import { Dmp } from '../entities/model/dmp'; import { DataTable, DataTableTranslations, DataTableResource } from 'angular-4-data-table-bootstrap-4'; @Component({ diff --git a/dmp-frontend/src/app/dmps/dmp.component.ts b/dmp-frontend/src/app/dmps/dmp.component.ts index 75b466e34..0671d59d7 100644 --- a/dmp-frontend/src/app/dmps/dmp.component.ts +++ b/dmp-frontend/src/app/dmps/dmp.component.ts @@ -2,7 +2,7 @@ import { Component, OnInit, Input, Output, EventEmitter, ViewChild } from '@ang import {GoogleSignInSuccess} from 'angular-google-signin'; import { Router, ActivatedRoute } from '@angular/router'; import { ServerService } from '../../app/services/server.service'; -import { Dmp } from '../entities/model/Dmp'; +import { Dmp } from '../entities/model/dmp'; import { Dataset } from '../entities/model/dataset'; import { Project } from '../entities/model/project'; import { DataTable, DataTableTranslations, DataTableResource } from 'angular-4-data-table-bootstrap-4'; diff --git a/dmp-frontend/src/app/projects/projects.component.ts b/dmp-frontend/src/app/projects/projects.component.ts index a412d324c..eb4b24529 100644 --- a/dmp-frontend/src/app/projects/projects.component.ts +++ b/dmp-frontend/src/app/projects/projects.component.ts @@ -3,7 +3,7 @@ import {GoogleSignInSuccess} from 'angular-google-signin'; import { Router, ActivatedRoute } from '@angular/router'; import { ServerService } from '../../app/services/server.service'; import { Project } from '../entities/model/project'; -import { Dmp } from '../entities/model/Dmp'; +import { Dmp } from '../entities/model/dmp'; import { Dataset } from '../entities/model/dataset'; import { DataTable, DataTableTranslations, DataTableResource } from 'angular-4-data-table-bootstrap-4'; import { DropdownField } from '../../app/form/fields/dropdown/field-dropdown'; diff --git a/dmp-frontend/src/app/services/interceptor.ts b/dmp-frontend/src/app/services/interceptor.ts index 4449ccd78..a9026dd46 100644 --- a/dmp-frontend/src/app/services/interceptor.ts +++ b/dmp-frontend/src/app/services/interceptor.ts @@ -21,7 +21,7 @@ export class GlobalInterceptor implements HttpInterceptor { }, (err: any) => { if (err instanceof HttpErrorResponse) { if (err.status === 401) { - EDW VALE TO KWDIKA GIA TO LOGOUT KAI SXOLIASE TON OPOU ALLOU TON EXEIS + //EDW VALE TO KWDIKA GIA TO LOGOUT KAI SXOLIASE TON OPOU ALLOU TON EXEIS } } });