fix (clients): bugs in clients view page
- adds skipErrorHandler to avoid profile image error message on frontend - defines breadcrumb text for each route in clients-routing.module.ts - removes mat-elevation-z1 class of tables in client view page fixes: #447
This commit is contained in:
committed by
Abhay Chawla
parent
504a14b968
commit
5125e8fe4c
@@ -22,7 +22,6 @@ export class ClientsService {
|
||||
.set('limit', limit.toString())
|
||||
.set('sortOrder', sortOrder)
|
||||
.set('orderBy', orderBy);
|
||||
|
||||
return this.http.get('/clients', { params: httpParams });
|
||||
}
|
||||
|
||||
@@ -62,7 +61,7 @@ export class ClientsService {
|
||||
|
||||
getClientProfileImage(clientId: string) {
|
||||
const httpParams = new HttpParams().set('maxHeight', '150');
|
||||
return this.http.get(`/clients/${clientId}/images`, { params: httpParams, responseType: 'text' });
|
||||
return this.http.skipErrorHandler().get(`/clients/${clientId}/images`, { params: httpParams, responseType: 'text' });
|
||||
}
|
||||
|
||||
getClientFamilyMembers(clientId: string) {
|
||||
|
||||
Reference in New Issue
Block a user