From 1f896e1a40ad574a4040c8b3ae4e7c93ce3ff87d Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 11 Aug 2017 22:32:09 +0200 Subject: [PATCH] Cleanup modules. --- src/accounts/account.module.ts | 2 -- src/accounts/accountEditModal.component.ts | 1 - src/login/login.module.ts | 1 - src/operations/operation.module.ts | 6 +----- src/scheduler/schedule.module.ts | 2 -- 5 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/accounts/account.module.ts b/src/accounts/account.module.ts index 92b0cc0..735b174 100644 --- a/src/accounts/account.module.ts +++ b/src/accounts/account.module.ts @@ -48,8 +48,6 @@ import { AccountListState } from './account.states' AccountListComponent, AccountDeleteModalComponent, AccountEditModalComponent, - AccountFormComponent, - AccountRowComponent ] }) export class AccountModule {} diff --git a/src/accounts/accountEditModal.component.ts b/src/accounts/accountEditModal.component.ts index 231ec5f..5def8c2 100644 --- a/src/accounts/accountEditModal.component.ts +++ b/src/accounts/accountEditModal.component.ts @@ -1,6 +1,5 @@ // vim: set tw=80 ts=2 sw=2 sts=2: import { Component, Input, ViewChild } from '@angular/core'; -import { NgForm } from '@angular/forms'; import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; diff --git a/src/login/login.module.ts b/src/login/login.module.ts index 9657e21..8e4f4b9 100644 --- a/src/login/login.module.ts +++ b/src/login/login.module.ts @@ -34,7 +34,6 @@ import { LoginModalComponent } from './loginModal.component'; ], entryComponents: [ LoginModalComponent, - LoginFormComponent, ] }) export class LoginModule {}; diff --git a/src/operations/operation.module.ts b/src/operations/operation.module.ts index 1cbb3c4..1417b49 100644 --- a/src/operations/operation.module.ts +++ b/src/operations/operation.module.ts @@ -49,13 +49,9 @@ import { OperationListState } from './operation.states' OperationEditModalComponent, ], entryComponents: [ - BalanceChartComponent, - CategoryChartComponent, - OperationRowComponent, - OperationListComponent, OperationDeleteModalComponent, - OperationFormComponent, OperationEditModalComponent, + OperationListComponent, ] }) export class OperationModule {} diff --git a/src/scheduler/schedule.module.ts b/src/scheduler/schedule.module.ts index a252add..d66145b 100644 --- a/src/scheduler/schedule.module.ts +++ b/src/scheduler/schedule.module.ts @@ -45,9 +45,7 @@ import { ScheduleListState } from './schedule.states'; entryComponents: [ ScheduleDeleteModalComponent, ScheduleEditModalComponent, - ScheduleFormComponent, ScheduleListComponent, - ScheduleRowComponent ] }) export class ScheduleModule {}