Rename AccountComponent to AccountListComponent.
This commit is contained in:
parent
4e9915aab0
commit
6ff893a08d
@ -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[];
|
@ -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
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user