diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2021-07-21 19:15:07 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2021-08-17 08:40:52 +0200 |
| commit | bd7e76d25f48bd5436144fc767c975a6791e7fd2 (patch) | |
| tree | 4c4e04753041d94290ecbe2076403692164d2475 /gui/src/renderer/containers | |
| parent | 81e3513d276246e39e42416824374518c6f7b97c (diff) | |
| download | mullvadvpn-bd7e76d25f48bd5436144fc767c975a6791e7fd2.tar.xz mullvadvpn-bd7e76d25f48bd5436144fc767c975a6791e7fd2.zip | |
Add filter by provider button in select location view
Diffstat (limited to 'gui/src/renderer/containers')
| -rw-r--r-- | gui/src/renderer/containers/SelectLocationPage.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/src/renderer/containers/SelectLocationPage.tsx b/gui/src/renderer/containers/SelectLocationPage.tsx index b3aab7eb69..7511a75fe1 100644 --- a/gui/src/renderer/containers/SelectLocationPage.tsx +++ b/gui/src/renderer/containers/SelectLocationPage.tsx @@ -7,6 +7,7 @@ import RelaySettingsBuilder from '../../shared/relay-settings-builder'; import SelectLocation from '../components/SelectLocation'; import withAppContext, { IAppContext } from '../context'; import { IHistoryProps, withHistory } from '../lib/history'; +import { RoutePath } from '../lib/routes'; import { IReduxState, ReduxDispatch } from '../redux/store'; import userInterfaceActions from '../redux/userinterface/actions'; import { LocationScope } from '../redux/userinterface/reducers'; @@ -45,6 +46,7 @@ const mapDispatchToProps = (dispatch: ReduxDispatch, props: IHistoryProps & IApp return { onClose: () => props.history.dismiss(), + onViewFilterByProvider: () => props.history.push(RoutePath.filterByProvider), onChangeLocationScope: (scope: LocationScope) => { userInterface.setLocationScope(scope); }, |
