diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2024-04-16 08:04:22 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2024-04-19 11:35:01 +0200 |
| commit | b2e98f22541612604a2438746f1e784342d23a6f (patch) | |
| tree | cffbe433abbbe86375c921becf268c127d659eb4 /gui/src | |
| parent | bc7b8e9fc5f5776df1a2ec0520d1a26656e6c004 (diff) | |
| download | mullvadvpn-b2e98f22541612604a2438746f1e784342d23a6f.tar.xz mullvadvpn-b2e98f22541612604a2438746f1e784342d23a6f.zip | |
Fix not resetting to bridge type normal when selecting automatic
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/renderer/components/select-location/select-location-hooks.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/src/renderer/components/select-location/select-location-hooks.ts b/gui/src/renderer/components/select-location/select-location-hooks.ts index 08ed2dccf3..027185e416 100644 --- a/gui/src/renderer/components/select-location/select-location-hooks.ts +++ b/gui/src/renderer/components/select-location/select-location-hooks.ts @@ -121,6 +121,7 @@ export function useOnSelectBridgeLocation() { case SpecialBridgeLocationType.closestToExit: return setLocation( bridgeSettingsModifier((bridgeSettings) => { + bridgeSettings.type = 'normal'; bridgeSettings.normal.location = 'any'; return bridgeSettings; }), |
