Remove uneeded delay
This commit is contained in:
@@ -273,7 +273,6 @@ export function reducer(state = initialState, action: mapActions.Actions | commo
|
||||
case mapActions.DOQUERY: {
|
||||
let a = action as mapActions.DoQuery;
|
||||
return tassign(state, {
|
||||
setStateCount:state.setStateCount+1,
|
||||
query: tassign(a.query, { bbox: a.query.bboxFilter ? state.viewExtent : [] })});
|
||||
}
|
||||
case mapActions.ADDFEATURESUCCESS: {
|
||||
@@ -463,6 +462,9 @@ export function reducer(state = initialState, action: mapActions.Actions | commo
|
||||
let a= action as mapActions.SetReplaceUrl;
|
||||
return tassign(state,{replaceUrl:a.replaceUrl});
|
||||
}
|
||||
case mapActions.CLEAR: {
|
||||
return tassign(state,{setStateCount:0});
|
||||
}
|
||||
default: {
|
||||
return state;
|
||||
}
|
||||
|
Reference in New Issue
Block a user