diff --git a/src/operations/categoryChart.component.ts b/src/operations/categoryChart.component.ts index d041a36..5b0bd2b 100644 --- a/src/operations/categoryChart.component.ts +++ b/src/operations/categoryChart.component.ts @@ -8,8 +8,6 @@ import { OnInit, OnChanges } from '@angular/core'; -import { Logger } from '@nsalaun/ng-logger'; - import { Account } from '../accounts/account'; import { CategoryService } from './category.service'; @@ -27,7 +25,6 @@ export class CategoryChartComponent implements OnInit, OnChanges { constructor( private elementRef: ElementRef, private categoryService: CategoryService, - private logger: Logger, ) {} loadData(account: Account) { diff --git a/src/operations/index.ts b/src/operations/index.ts index 47d6a20..7c42883 100644 --- a/src/operations/index.ts +++ b/src/operations/index.ts @@ -25,22 +25,11 @@ import { downgradeComponent } from '@angular/upgrade/static'; -import { ToastrService } from 'ngx-toastr'; - -var ngResource = require('angular-resource'), - ngStrap = require('angular-strap'); - import accountModule from '@accountant/accounts'; -import { BalanceChartComponent } from './balanceChart.component'; -import { CategoryChartComponent } from './categoryChart.component'; -import { OperationService } from './operation.service'; - import { OperationListComponent } from './operationList.component'; export default angular.module('accountant.operations', [ - ngResource, - ngStrap, accountModule, ])