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',