Untitled
unknown
plain_text
3 years ago
461 B
5
Indexable
dashboardData(){
this.dashboardService.getDetails().subscribe((response:any)=>{
this.ngxService.stop();
this.data = response;
},(error:any)=>{
this.ngxService.stop();
console.log(error);
if(error.error?.message){
this.responseMessage = error.error?.message;
}
else{
this.responseMessage = GlobalConstants.genericError;
}
this.snackbarService.openSnackBar(this.responseMessage,GlobalConstants.error);
})
}Editor is loading...