|
@ -33,6 +33,7 @@ export class AccountsTableComponent implements OnChanges, OnDestroy, OnInit { |
|
|
@Input() transactionCount: number; |
|
|
@Input() transactionCount: number; |
|
|
|
|
|
|
|
|
@Output() accountDeleted = new EventEmitter<string>(); |
|
|
@Output() accountDeleted = new EventEmitter<string>(); |
|
|
|
|
|
@Output() accountToggleExcluded = new EventEmitter<AccountModel>(); |
|
|
@Output() accountToUpdate = new EventEmitter<AccountModel>(); |
|
|
@Output() accountToUpdate = new EventEmitter<AccountModel>(); |
|
|
|
|
|
|
|
|
@ViewChild(MatSort) sort: MatSort; |
|
|
@ViewChild(MatSort) sort: MatSort; |
|
@ -87,6 +88,10 @@ export class AccountsTableComponent implements OnChanges, OnDestroy, OnInit { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public onToggleExcluded(aAccount: AccountModel) { |
|
|
|
|
|
this.accountToggleExcluded.emit(aAccount); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public onOpenAccountDetailDialog(accountId: string) { |
|
|
public onOpenAccountDetailDialog(accountId: string) { |
|
|
this.router.navigate([], { |
|
|
this.router.navigate([], { |
|
|
queryParams: { accountId, accountDetailDialog: true } |
|
|
queryParams: { accountId, accountDetailDialog: true } |
|
|