Add debug logging
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma
2020-04-17 08:39:48 +02:00
parent da0534e928
commit 3828db341a
3 changed files with 8 additions and 3 deletions

View File

@@ -129,7 +129,6 @@ export function reducer(state = initialState, action: mapActions.Actions | commo
let a = action as mapActions.StartSearchSuccess;
let extent = state.extent;
if (!action.query.bboxFilter) {
console.debug("Set extent");
extent = createEmpty();
if (extent) {
for (let f of action.features) {
@@ -306,7 +305,6 @@ export function reducer(state = initialState, action: mapActions.Actions | commo
return tassign(state, { searchCollapsed: state.panelVisible ? false: true});
}
case mapActions.SETEXTENT: {
console.debug("Set extent 2");
let a = action as mapActions.SetExtent;
return tassign(state, { extent: a.extent });
}