fixed errors

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

View file

@ -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;

View file

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