fix: inactive employees not being displayed (#608)

Fixes: #606
This commit is contained in:
Aggelos Gamvrinos
2020-05-14 16:24:31 +05:30
committed by GitHub
parent 55d639f87a
commit 60dee4651c
+2 -1
View File
@@ -63,7 +63,8 @@ export class OrganizationService {
* @returns {Observable<any>} Employees data
*/
getEmployees(): Observable<any> {
return this.http.get('/staff');
const httpParams = new HttpParams().set('status', 'all');
return this.http.get('/staff', { params: httpParams });
}
/**