DbImage works!!
Credit Salary works!! Refresh router created, now need to use it in angular Errors should now show up in the frontend.
This commit is contained in:
@ -65,7 +65,7 @@ export class RoleDetailComponent implements OnInit, AfterViewInit {
|
||||
this.router.navigateByUrl('/roles');
|
||||
},
|
||||
(error) => {
|
||||
this.toaster.show('Danger', error.error);
|
||||
this.toaster.show('Danger', error);
|
||||
}
|
||||
);
|
||||
}
|
||||
@ -78,7 +78,7 @@ export class RoleDetailComponent implements OnInit, AfterViewInit {
|
||||
this.router.navigateByUrl('/roles');
|
||||
},
|
||||
(error) => {
|
||||
this.toaster.show('Danger', error.error);
|
||||
this.toaster.show('Danger', error);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user