mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
fixed search
This commit is contained in:
parent
957ddebb67
commit
6126951d34
1 changed files with 1 additions and 2 deletions
|
@ -81,8 +81,6 @@ const setProvider = (state, { provider }) => ({ ...state, provider });
|
||||||
const setDialog = (state, { dialog }) => ({
|
const setDialog = (state, { dialog }) => ({
|
||||||
...state,
|
...state,
|
||||||
dialog,
|
dialog,
|
||||||
// dialog_active: typeof dialog_active !== 'undefined' ? dialog_active : !state.dialog_active,
|
|
||||||
// dialog_active,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const setDialogActive = (state, { dialog_active }) => ({
|
const setDialogActive = (state, { dialog_active }) => ({
|
||||||
|
@ -102,6 +100,7 @@ const searchSetTitle = (state, { title = '' }) => ({
|
||||||
filter: {
|
filter: {
|
||||||
...state.routes.filter,
|
...state.routes.filter,
|
||||||
title,
|
title,
|
||||||
|
distance: [0, 10000],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue