diff --git a/src/app/app.component.ts b/src/app/app.component.ts index d5d78d72..24b654f1 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,9 +1,10 @@ +"use strict"; +import { APP_CONFIG, AppConfig } from "./app-config.module"; import { Component, Inject, OnInit } from "@angular/core"; import { LoopBackConfig } from "./shared/sdk"; +import { Title } from "@angular/platform-browser"; import { UserApi } from "./shared/sdk/services"; import { environment } from "../environments/environment"; -import { APP_CONFIG, AppConfig } from "./app-config.module"; -import { Title } from "@angular/platform-browser"; @Component({ selector: "app-root", diff --git a/src/app/dashboard/dashboard.component.ts b/src/app/dashboard/dashboard.component.ts index e8e2a214..be946049 100644 --- a/src/app/dashboard/dashboard.component.ts +++ b/src/app/dashboard/dashboard.component.ts @@ -1,8 +1,8 @@ "use strict"; +import { APP_CONFIG, AppConfig } from "../app-config.module"; import { Component, Inject, OnInit } from "@angular/core"; import { DatasetService } from "../dataset.service"; import { PublishedData } from "../shared/sdk/models"; -import { APP_CONFIG, AppConfig } from "../app-config.module"; import { map } from "rxjs/operators"; interface MyType { diff --git a/src/app/dataset-detail/dataset-detail.component.spec.ts b/src/app/dataset-detail/dataset-detail.component.spec.ts index eb6bb9e3..1b34d7ac 100644 --- a/src/app/dataset-detail/dataset-detail.component.spec.ts +++ b/src/app/dataset-detail/dataset-detail.component.spec.ts @@ -6,12 +6,7 @@ import { HttpClient } from "@angular/common/http"; import { InMemoryDataService } from "../in-memory-data.service"; import { InMemoryWebApiModule } from "angular-in-memory-web-api"; import { MatCardModule } from "@angular/material"; -import { - MockDatasetService, - MockHttp, - MockNgx, - MockPublishedDataApi -} from "../MockStubs"; +import { MockDatasetService, MockHttp, MockNgx } from "../MockStubs"; import { NgxJsonLdModule } from "@ngx-lite/json-ld"; import { RouterTestingModule } from "@angular/router/testing"; import { async, ComponentFixture, TestBed } from "@angular/core/testing"; diff --git a/src/app/datasets/datasets.component.ts b/src/app/datasets/datasets.component.ts index 2ab0cb28..6377658d 100644 --- a/src/app/datasets/datasets.component.ts +++ b/src/app/datasets/datasets.component.ts @@ -1,11 +1,11 @@ "use strict"; +import { APP_CONFIG, AppConfig } from "../app-config.module"; import { Component, Inject, OnInit } from "@angular/core"; import { DatasetService } from "../dataset.service"; -import { PublishedData } from "../shared/sdk/models"; -import { APP_CONFIG, AppConfig } from "../app-config.module"; import { HttpClient } from "@angular/common/http"; -import { map } from "rxjs/operators"; +import { PublishedData } from "../shared/sdk/models"; import { Router } from "@angular/router"; +import { map } from "rxjs/operators"; interface MyType { doi: string;