Cleanup dependencies.
This commit is contained in:
parent
6bc53a0cd2
commit
5b7a4f8aa5
@ -8,8 +8,6 @@ import {
|
|||||||
OnInit, OnChanges
|
OnInit, OnChanges
|
||||||
} from '@angular/core';
|
} from '@angular/core';
|
||||||
|
|
||||||
import { Logger } from '@nsalaun/ng-logger';
|
|
||||||
|
|
||||||
import { Account } from '../accounts/account';
|
import { Account } from '../accounts/account';
|
||||||
import { CategoryService } from './category.service';
|
import { CategoryService } from './category.service';
|
||||||
|
|
||||||
@ -27,7 +25,6 @@ export class CategoryChartComponent implements OnInit, OnChanges {
|
|||||||
constructor(
|
constructor(
|
||||||
private elementRef: ElementRef,
|
private elementRef: ElementRef,
|
||||||
private categoryService: CategoryService,
|
private categoryService: CategoryService,
|
||||||
private logger: Logger,
|
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
loadData(account: Account) {
|
loadData(account: Account) {
|
||||||
|
@ -25,22 +25,11 @@ import {
|
|||||||
downgradeComponent
|
downgradeComponent
|
||||||
} from '@angular/upgrade/static';
|
} from '@angular/upgrade/static';
|
||||||
|
|
||||||
import { ToastrService } from 'ngx-toastr';
|
|
||||||
|
|
||||||
var ngResource = require('angular-resource'),
|
|
||||||
ngStrap = require('angular-strap');
|
|
||||||
|
|
||||||
import accountModule from '@accountant/accounts';
|
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';
|
import { OperationListComponent } from './operationList.component';
|
||||||
|
|
||||||
export default angular.module('accountant.operations', [
|
export default angular.module('accountant.operations', [
|
||||||
ngResource,
|
|
||||||
ngStrap,
|
|
||||||
accountModule,
|
accountModule,
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user