Add property to component

This commit is contained in:
Ben Goldsworthy 2020-10-18 14:03:23 +01:00
parent 9a8e2f4c1c
commit 6ef9786bdc

View file

@ -29,6 +29,7 @@ export class TransactionLogComponent implements OnInit {
transactionFormStatusSuccess: string;
transactionFormStatusError = 'Error received, please try again.';
updatedTime: string;
accountType: any;
showMeta = false;
public paginateConfig: PaginationInstance = {
@ -58,6 +59,7 @@ export class TransactionLogComponent implements OnInit {
ngOnInit(): void {
this.loadTransactions(1);
this.accountType = localStorage.getItem('usertype');
}
loadTransactions(logPage: number) {