routes: hiding map dialog on map select

This commit is contained in:
muerwre 2018-12-14 17:33:27 +07:00
parent c5b6fcf011
commit f325824da3
3 changed files with 17 additions and 6 deletions

View file

@ -461,9 +461,9 @@ function* openMapDialogSaga({ tab }) {
return yield put(setDialogActive(false));
}
// if (tab !== current) { // if tab wasnt changed just update data
yield put(searchSetTab(tab));
// }
if (tab !== current) { // if tab wasnt changed just update data
yield put(searchSetTab(tab));
}
yield put(setDialog(DIALOGS.MAP_LIST));
yield put(setDialogActive(true));