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 { AccountBalancesService } from './accountBalances.service';
|
||||||
import { AccountDeleteModalComponent } from './accountDeleteModal.component';
|
import { AccountDeleteModalComponent } from './accountDeleteModal.component';
|
||||||
import { AccountEditModalComponent } from './accountEditModal.component';
|
import { AccountEditModalComponent } from './accountEditModal.component';
|
||||||
export class AccountComponent {
|
export class AccountListComponent {
|
||||||
static $inject = ['AccountService', 'AccountBalancesService', 'Notification', 'Logger', 'NgbModal'];
|
static $inject = ['AccountService', 'AccountBalancesService', 'Notification', 'Logger', 'NgbModal'];
|
||||||
|
|
||||||
accounts: Account[];
|
accounts: Account[];
|
@ -34,7 +34,7 @@ var accountsTmpl = require('./accounts.html');
|
|||||||
|
|
||||||
import { AccountBalancesService } from './accountBalances.service';
|
import { AccountBalancesService } from './accountBalances.service';
|
||||||
import { AccountService } from './account.service';
|
import { AccountService } from './account.service';
|
||||||
import { AccountComponent } from './account.component';
|
import { AccountListComponent } from './accountList.component';
|
||||||
|
|
||||||
export default angular.module('accountant.accounts', [
|
export default angular.module('accountant.accounts', [
|
||||||
ngResource,
|
ngResource,
|
||||||
@ -52,7 +52,7 @@ export default angular.module('accountant.accounts', [
|
|||||||
.factory('AccountService', downgradeInjectable(AccountService))
|
.factory('AccountService', downgradeInjectable(AccountService))
|
||||||
|
|
||||||
.component('accountList', {
|
.component('accountList', {
|
||||||
controller: AccountComponent,
|
controller: AccountListComponent,
|
||||||
controllerAs: 'accountsCtrl',
|
controllerAs: 'accountsCtrl',
|
||||||
templateUrl: accountsTmpl
|
templateUrl: accountsTmpl
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user