Renamed groups to roles in the frontend

Working:
 Account
 Cost Centre
 Employee
 Product Group
 Product
 Role
 User
 Client
This commit is contained in:
tanshu committed 2020-05-12 01:44:57 +05:30
1 parent cd764be49c
commit 6dbab6442f
50 files changed
+272 -295

No files matched your search

+1 -2
View File
@@ -27,8 +27,7 @@ export class ClientService {
}
list(): Observable<Client[]> {
const options = {params: new HttpParams().set('l', '')};
return <Observable<Client[]>>this.http.get<Client[]>(url, options)
return <Observable<Client[]>>this.http.get<Client[]>(`${url}/list`)
.pipe(
catchError(this.log.handleError(serviceName, 'list'))
);