Add property to component
This commit is contained in:
parent
9a8e2f4c1c
commit
6ef9786bdc
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,7 @@ export class TransactionLogComponent implements OnInit {
|
||||||
transactionFormStatusSuccess: string;
|
transactionFormStatusSuccess: string;
|
||||||
transactionFormStatusError = 'Error received, please try again.';
|
transactionFormStatusError = 'Error received, please try again.';
|
||||||
updatedTime: string;
|
updatedTime: string;
|
||||||
|
accountType: any;
|
||||||
showMeta = false;
|
showMeta = false;
|
||||||
|
|
||||||
public paginateConfig: PaginationInstance = {
|
public paginateConfig: PaginationInstance = {
|
||||||
|
@ -58,6 +59,7 @@ export class TransactionLogComponent implements OnInit {
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.loadTransactions(1);
|
this.loadTransactions(1);
|
||||||
|
this.accountType = localStorage.getItem('usertype');
|
||||||
}
|
}
|
||||||
|
|
||||||
loadTransactions(logPage: number) {
|
loadTransactions(logPage: number) {
|
||||||
|
|
Reference in a new issue