changed getFeatures index parameter use to indexed ?? true
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Mark van der Wal 2022-02-05 14:00:25 +01:00
parent be9b01dbab
commit b9ee39399c

View File

@ -42,7 +42,7 @@ export class ItemService {
if (parentCode) params = params.append("pc", parentCode); if (parentCode) params = params.append("pc", parentCode);
if (dataFilter) params = params.append("df", dataFilter); if (dataFilter) params = params.append("df", dataFilter);
if (level) params = params.append("lvl", level.toString()); if (level) params = params.append("lvl", level.toString());
if (indexed) params = params.append("ind", indexed); params = params.append("ind", indexed ?? true);
return this.httpClient.get<any>(`${this.ApiEndpoint()}/api/v1/items/features/`, {params:params}); return this.httpClient.get<any>(`${this.ApiEndpoint()}/api/v1/items/features/`, {params:params});
} }