@@ 496,17 496,8 @@ const remoteSearch = computed(() => {
/** Base URL for help links. */
const baseHelpUrl = computed(() => `${env.docUrl}/guide/connection-wizard/`)
watch(localCustomDns, (v) => {
// check if _other_ side is internet
if (props.remote.type === 'internet') return
localInternetDns.value = v ? 'custom' : 'none'
})
watch(remoteCustomDns, (v) => {
// check if _other_ side is internet
if (props.local.type === 'internet') return
remoteInternetDns.value = v ? 'custom' : 'none'
})
watch(localCustomDns, (v) => (localInternetDns.value = v ? 'custom' : 'none'))
watch(remoteCustomDns, (v) => (remoteInternetDns.value = v ? 'custom' : 'none'))
watch(localInternetDns, () => applyInternetDns('local'))
watch(remoteInternetDns, () => applyInternetDns('remote'))