Refactor map for menu removal
Some checks failed
FarmMaps.Develop/FarmMapsLib/develop There was a failure building this commit
Some checks failed
FarmMaps.Develop/FarmMapsLib/develop There was a failure building this commit
This commit is contained in:
@@ -104,7 +104,7 @@ export class MapEffects {
|
||||
ofType(mapActions.STARTSEARCHSUCCESS),
|
||||
mergeMap((action: mapActions.StartSearchSuccess) => {
|
||||
if (action.query.bboxFilter) {
|
||||
return [];
|
||||
return [new commonActions.SetMenuVisible(false)];
|
||||
} else {
|
||||
var extent = createEmpty();
|
||||
|
||||
@@ -114,7 +114,7 @@ export class MapEffects {
|
||||
}
|
||||
}
|
||||
//return [];
|
||||
return of(new mapActions.SetExtent(extent));
|
||||
return [new mapActions.SetExtent(extent),new commonActions.SetMenuVisible(false)];
|
||||
}
|
||||
}));
|
||||
|
||||
|
Reference in New Issue
Block a user