mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
routes: hiding map dialog on map select
This commit is contained in:
parent
c5b6fcf011
commit
f325824da3
3 changed files with 17 additions and 6 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue