From 6ef9786bdcf3906999a7c2ebd3c45808b3fce7b7 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) {