diff options
| -rw-r--r-- | desktop/packages/mullvad-vpn/src/renderer/components/select-location/custom-list-helpers.ts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/components/select-location/custom-list-helpers.ts b/desktop/packages/mullvad-vpn/src/renderer/components/select-location/custom-list-helpers.ts index 3f6149cd7f..5cbe77187c 100644 --- a/desktop/packages/mullvad-vpn/src/renderer/components/select-location/custom-list-helpers.ts +++ b/desktop/packages/mullvad-vpn/src/renderer/components/select-location/custom-list-helpers.ts @@ -9,7 +9,12 @@ import { usePreventDueToCustomBridgeSelected, useSelectedLocation, } from './RelayListContext'; -import { isCustomListDisabled, isExpanded, isSelected } from './select-location-helpers'; +import { + formatRowName, + isCustomListDisabled, + isExpanded, + isSelected, +} from './select-location-helpers'; import { CitySpecification, CountrySpecification, @@ -73,7 +78,7 @@ function prepareCustomList( const disabledReason = isCustomListDisabled(location, locations, disabledLocation); return { - label: list.name, + label: formatRowName(list.name, location, disabledReason), list, location, active: disabledReason !== DisabledReason.inactive, |
