Also supply parentcode and itemtype
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:
parent
3e0cf6d691
commit
0b32153489
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user