summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/containers/SelectLocationPage.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/gui/src/renderer/containers/SelectLocationPage.tsx b/gui/src/renderer/containers/SelectLocationPage.tsx
index c7ada77118..1c3f3ff32a 100644
--- a/gui/src/renderer/containers/SelectLocationPage.tsx
+++ b/gui/src/renderer/containers/SelectLocationPage.tsx
@@ -61,10 +61,7 @@ export default function SelectLocationPage() {
}, [tunnelProtocol, relaySettings]);
const selectedEntryLocation = useMemo<RelayLocation | undefined>(() => {
- if (
- !(tunnelProtocol === 'openvpn' && 'normal' in bridgeSettings) &&
- 'normal' in relaySettings
- ) {
+ if (multihopEnabled && 'normal' in relaySettings) {
const entryLocation = relaySettings.normal.wireguard.entryLocation;
if (multihopEnabled && entryLocation !== 'any') {
return entryLocation;