Aw-6020 Fix getChildItemListCount
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
@@ -115,7 +115,9 @@ export class ItemService {
|
||||
|
||||
getChildItemListCount(parentcode: string, itemType?: string,dataFilter?: any): Observable<number> {
|
||||
let params = new HttpParams();
|
||||
params = params.append("it", itemType);
|
||||
if(itemType != null) {
|
||||
params = params.append("it", itemType);
|
||||
}
|
||||
if (dataFilter != null) {
|
||||
params = params.append("df", JSON.stringify(dataFilter));
|
||||
}
|
||||
|
Reference in New Issue
Block a user