From a19ddcb1b71b4f44aa6d1b838bea873449e7b6e5 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Sun, 18 Oct 2020 14:03:23 +0100 Subject: [PATCH] Add property to component --- src/app/dashboard/transaction-log.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/dashboard/transaction-log.component.ts b/src/app/dashboard/transaction-log.component.ts index 17ae75a..ec0984e 100644 --- a/src/app/dashboard/transaction-log.component.ts +++ b/src/app/dashboard/transaction-log.component.ts @@ -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) {