Rename AccountComponent to AccountListComponent.

This commit is contained in:
Alexis Lahouze 2017-07-20 23:00:52 +02:00
parent 4e9915aab0
commit 6ff893a08d
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ import { AccountService } from './account.service';
import { AccountBalancesService } from './accountBalances.service';
import { AccountDeleteModalComponent } from './accountDeleteModal.component';
import { AccountEditModalComponent } from './accountEditModal.component';
export class AccountComponent {
export class AccountListComponent {
static $inject = ['AccountService', 'AccountBalancesService', 'Notification', 'Logger', 'NgbModal'];
accounts: Account[];

View File

@ -34,7 +34,7 @@ var accountsTmpl = require('./accounts.html');
import { AccountBalancesService } from './accountBalances.service';
import { AccountService } from './account.service';
import { AccountComponent } from './account.component';
import { AccountListComponent } from './accountList.component';
export default angular.module('accountant.accounts', [
ngResource,
@ -52,7 +52,7 @@ export default angular.module('accountant.accounts', [
.factory('AccountService', downgradeInjectable(AccountService))
.component('accountList', {
controller: AccountComponent,
controller: AccountListComponent,
controllerAs: 'accountsCtrl',
templateUrl: accountsTmpl
})