From 5e55434772db965ec577e0e35f101577288ce573 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Tue, 21 Jan 2020 14:47:16 +0700 Subject: [PATCH] disabled nominatim for now --- src/components/panels/UserPanel.tsx | 8 +++++++- src/redux/editor/sagas.ts | 5 ++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/components/panels/UserPanel.tsx b/src/components/panels/UserPanel.tsx index 8d6765f..008c075 100644 --- a/src/components/panels/UserPanel.tsx +++ b/src/components/panels/UserPanel.tsx @@ -129,7 +129,13 @@ export class UserPanelUnconnected extends PureComponent { return (
- + + {features.nominatim && ( + + )}
diff --git a/src/redux/editor/sagas.ts b/src/redux/editor/sagas.ts index f613dc1..b900dc3 100644 --- a/src/redux/editor/sagas.ts +++ b/src/redux/editor/sagas.ts @@ -97,7 +97,10 @@ export function* setReadySaga() { hideLoader(); yield call(checkOSRMServiceSaga); - yield call(checkNominatimSaga); + + // TODO: someday make nominatim, but sorted by nearest points. + // yield call(checkNominatimSaga); + yield put(searchSetTab(TABS.MY)); }