Add property to component
This commit is contained in:
parent
49e5951747
commit
a19ddcb1b7
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