fixed errors

This commit is contained in:
piratefinn 2018-03-20 19:04:05 +00:00
parent 7a432b4983
commit 4fadf5297b
2 changed files with 3 additions and 2 deletions

View file

@ -124,7 +124,7 @@ export class RegisterComponent {
this.registerStatus = 'success'; this.registerStatus = 'success';
this.router.navigate(['/dashboard']); this.router.navigate(['/dashboard']);
}, },
error => error => {
console.log(error); console.log(error);
try { try {
this.registerStatusError = '"' + error.error.error + '" Error, ' + error.error.message; this.registerStatusError = '"' + error.error.error + '" Error, ' + error.error.message;

View file

@ -22,12 +22,13 @@ export class TransactionLogComponent implements OnInit {
clickedRecur: any; clickedRecur: any;
public updatedDate: string; public updatedDate: string;
public startTime: string; public startTime: string;
categoryIdList: number[] = []; categoryIdList: any;
categoryList: any; categoryList: any;
categoryNameList: string[] = []; categoryNameList: string[] = [];
transactionFormStatus: string; transactionFormStatus: string;
transactionFormStatusSuccess: string; transactionFormStatusSuccess: string;
transactionFormStatusError = 'Error received, please try again.'; transactionFormStatusError = 'Error received, please try again.';
updatedTime: string;
public paginateConfig: PaginationInstance = { public paginateConfig: PaginationInstance = {
id: 'transpaginate', id: 'transpaginate',