diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index ac290af..720f182 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -1,21 +1,11 @@ import {NgModule} from '@angular/core'; import {Routes, RouterModule} from '@angular/router'; -import { KanbanService } from "./kanban/shared" -import { KanbanBoardComponent } from "./kanban/kanban-board/kanban-board.component" - const routes: Routes = [ { path: '', redirectTo: '/kanban', pathMatch: 'full', - },{ - path: 'kanban', - children: [], - component: KanbanBoardComponent, - resolve: { - kanbanBoard: KanbanService, - }, } ]; diff --git a/src/app/kanban/kanban.module.ts b/src/app/kanban/kanban.module.ts index 0d6a037..1e9d2f8 100644 --- a/src/app/kanban/kanban.module.ts +++ b/src/app/kanban/kanban.module.ts @@ -10,11 +10,13 @@ import { PriorityColorPipe } from './shared/priority-color.pipe'; import { ShortenTextPipe } from './shared/shorten-text.pipe'; import { SelfUpdaterService } from './shared/self-updater.service'; import { BlockedDaysPipe } from './shared/blocked-days.pipe'; +import {KanbanRoutingModule} from "./kanban-routing.module"; @NgModule({ imports: [ CommonModule, HttpModule, + KanbanRoutingModule ], declarations: [ KanbanBoardComponent, diff --git a/src/app/tsp-info/shared/tsp-info.model.ts b/src/app/tsp-info/shared/tsp-info.model.ts index 35c2cbc..e31add0 100644 --- a/src/app/tsp-info/shared/tsp-info.model.ts +++ b/src/app/tsp-info/shared/tsp-info.model.ts @@ -9,7 +9,7 @@ import { export class TspInfo { - public cameraMovieUrls: Array = []; + public cameraUrls: Array = []; public animGifs: Array = []; public praGoals: { core: PrioValues, diff --git a/src/app/tsp-info/tsp-info-routing.module.ts b/src/app/tsp-info/tsp-info-routing.module.ts index 8845967..9bf1a0b 100644 --- a/src/app/tsp-info/tsp-info-routing.module.ts +++ b/src/app/tsp-info/tsp-info-routing.module.ts @@ -1,21 +1,22 @@ -import { NgModule } from '@angular/core'; -import { Routes, RouterModule } from '@angular/router'; -import { InfoPageComponent } from "./info-page/info-page.component"; -import { TspInfoService } from "./shared/tsp-info.service"; +import {NgModule} from '@angular/core'; +import {Routes, RouterModule} from '@angular/router'; +import {InfoPageComponent} from "./info-page/info-page.component"; +import {TspInfoService} from "./shared/tsp-info.service"; const routes: Routes = [ { - path: 'tsp-info-page', - children: [], - component: InfoPageComponent, - resolve: { - tspInfo: TspInfoService, - }, - } + path: 'tsp-info-page', + children: [], + component: InfoPageComponent, + resolve: { + tspInfo: TspInfoService, + }, + } ]; @NgModule({ - imports: [RouterModule.forChild(routes)], - exports: [RouterModule] + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] }) -export class TspInfoRoutingModule { } +export class TspInfoRoutingModule { +} diff --git a/src/app/tsp-info/tsp-info.module.ts b/src/app/tsp-info/tsp-info.module.ts index 70e86c8..6f64a0a 100644 --- a/src/app/tsp-info/tsp-info.module.ts +++ b/src/app/tsp-info/tsp-info.module.ts @@ -1,32 +1,33 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; +import {NgModule} from '@angular/core'; +import {CommonModule} from '@angular/common'; -import { TspInfoRoutingModule } from './tsp-info-routing.module'; -import { InfoBoxComponent } from './info-box/info-box.component'; -import { TrProgressComponent } from './tr-progress/tr-progress.component'; -import { ExpeditesComponent } from './expedites/expedites.component'; -import { TrFlowErrorsComponent } from './tr-flow-errors/tr-flow-errors.component'; -import { PraGoalsComponent } from './pra-goals/pra-goals.component'; -import { InfoPageComponent } from './info-page/info-page.component'; -import { AnimgifComponent } from './animgif/animgif.component'; -import { TspInfoService } from './shared/tsp-info.service'; -import { HttpModule } from "@angular/http"; +import {TspInfoRoutingModule} from './tsp-info-routing.module'; +import {InfoBoxComponent} from './info-box/info-box.component'; +import {TrProgressComponent} from './tr-progress/tr-progress.component'; +import {ExpeditesComponent} from './expedites/expedites.component'; +import {TrFlowErrorsComponent} from './tr-flow-errors/tr-flow-errors.component'; +import {PraGoalsComponent} from './pra-goals/pra-goals.component'; +import {InfoPageComponent} from './info-page/info-page.component'; +import {AnimgifComponent} from './animgif/animgif.component'; +import {TspInfoService} from './shared/tsp-info.service'; +import {HttpModule} from "@angular/http"; @NgModule({ - imports: [ - CommonModule, - HttpModule, - TspInfoRoutingModule - ], - declarations: [ - InfoBoxComponent, - TrProgressComponent, - ExpeditesComponent, - TrFlowErrorsComponent, - PraGoalsComponent, - InfoPageComponent, - AnimgifComponent - ], - providers: [TspInfoService] + imports: [ + CommonModule, + HttpModule, + TspInfoRoutingModule + ], + declarations: [ + InfoBoxComponent, + TrProgressComponent, + ExpeditesComponent, + TrFlowErrorsComponent, + PraGoalsComponent, + InfoPageComponent, + AnimgifComponent + ], + providers: [TspInfoService] }) -export class TspInfoModule { } +export class TspInfoModule { +}