Also supply parentcode and itemtype
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2020-04-16 16:01:06 +02:00
parent 3e0cf6d691
commit 0b32153489

View File

@ -29,7 +29,9 @@ export abstract class AbstractFeatureListComponent {
getAction(feature:Feature):Action {
var newQuery: any = tassign(mapReducers.initialState.query);
newQuery.parentCode = feature.get('parentCode');
newQuery.itemCode = feature.get('code');
newQuery.itemType = feature.get('itemType');
return new mapActions.DoQuery(newQuery)
}