Skip to content

Commit

Permalink
#10213: fix When the TOC opens the navigation toolbar change position (
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoudadel54 committed May 14, 2024
1 parent 0fadc4a commit 9193a2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/client/epics/__tests__/featuregrid-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1987,7 +1987,7 @@ describe('featuregrid Epics', () => {
const epicResult = actions => {
expect(actions.length).toBe(2);
expect(actions[0].type).toBe(HIDE_MAPINFO_MARKER);
expect(actions[1].type).toBe(OPEN_FEATURE_GRID);
expect(actions[1].type).toBe(CLOSE_FEATURE_GRID);
done();
};

Expand Down
2 changes: 1 addition & 1 deletion web/client/epics/featuregrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ export const hideFeatureGridOnDrawerOpenMobile = (action$, { getState } = {}) =>
&& getState().browser.mobile
&& drawerEnabledControlSelector(getState())
)
.switchMap(() => Rx.Observable.of(hideMapinfoMarker(), openFeatureGrid()));
.switchMap(() => Rx.Observable.of(hideMapinfoMarker(), closeFeatureGrid()));
export const hideDrawerOnFeatureGridOpenMobile = (action$, { getState } = {}) =>
action$
.ofType(FEATURE_INFO_CLICK)
Expand Down

0 comments on commit 9193a2d

Please sign in to comment.