mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
clearing search string on search tab change
This commit is contained in:
parent
53f717651e
commit
a920217959
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ import {
|
|||
setProvider,
|
||||
changeProvider,
|
||||
setSaveLoading,
|
||||
mapsSetShift, searchChangeDistance, clearAll, setFeature,
|
||||
mapsSetShift, searchChangeDistance, clearAll, setFeature, searchSetTitle,
|
||||
} from '$redux/user/actions';
|
||||
import { getUrlData, parseQuery, pushLoaderState, pushNetworkInitError, pushPath, replacePath } from '$utils/history';
|
||||
import { editor } from '$modules/Editor';
|
||||
|
@ -568,7 +568,7 @@ function* searchSetTabSaga() {
|
|||
yield put(searchChangeDistance([0, 10000]));
|
||||
yield put(searchPutRoutes({ list: [], min: 0, max: 10000, step: 20, shift: 0 }));
|
||||
|
||||
yield call(searchSetSaga);
|
||||
yield put(searchSetTitle(''));
|
||||
}
|
||||
|
||||
function* setSaveSuccessSaga({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue