From 4fadf5297b7d5f4231237cbe4dee699178375897 Mon Sep 17 00:00:00 2001 From: piratefinn Date: Tue, 20 Mar 2018 19:04:05 +0000 Subject: [PATCH] fixed errors --- src/app/auth/register.component.ts | 2 +- src/app/dashboard/transaction-log.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/auth/register.component.ts b/src/app/auth/register.component.ts index 43c6c69..95c86db 100644 --- a/src/app/auth/register.component.ts +++ b/src/app/auth/register.component.ts @@ -124,7 +124,7 @@ export class RegisterComponent { this.registerStatus = 'success'; this.router.navigate(['/dashboard']); }, - error => + error => { console.log(error); try { this.registerStatusError = '"' + error.error.error + '" Error, ' + error.error.message; diff --git a/src/app/dashboard/transaction-log.component.ts b/src/app/dashboard/transaction-log.component.ts index d3d4e52..019192c 100644 --- a/src/app/dashboard/transaction-log.component.ts +++ b/src/app/dashboard/transaction-log.component.ts @@ -22,12 +22,13 @@ export class TransactionLogComponent implements OnInit { clickedRecur: any; public updatedDate: string; public startTime: string; - categoryIdList: number[] = []; + categoryIdList: any; categoryList: any; categoryNameList: string[] = []; transactionFormStatus: string; transactionFormStatusSuccess: string; transactionFormStatusError = 'Error received, please try again.'; + updatedTime: string; public paginateConfig: PaginationInstance = { id: 'transpaginate',