Skip to content

Commit

Permalink
feat: Improve DNS toggle logic in Settings.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Jul 31, 2024
1 parent b3bc238 commit b5d8d50
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ui/src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@
<div class="title-description mg-bottom-xlg">
{{ $t("settings.DNS_description") }}
</div>
<cv-row v-if="are_dns_bound && !dnsEnableField && !is_dns_enabled">
<cv-row
v-if="are_dns_bound && !dnsEnableField && !is_dns_enabled"
>
<cv-column>
<NsInlineNotification
kind="info"
Expand All @@ -179,7 +181,9 @@
v-model="dnsEnableField"
value="dnsEnableField"
formItem
:disabled="are_dns_bound && !dnsEnableField && !is_dns_enabled"
:disabled="
are_dns_bound && !dnsEnableField && !is_dns_enabled
"
ref="dnsEnableField"
>
<template slot="text-left">{{
Expand Down

0 comments on commit b5d8d50

Please sign in to comment.