diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index 6c0f6b44..196645cd 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -163,10 +163,10 @@ "install_settings_title": "Admin Web Interface", "install_settings_listen": "Listen interface", "install_settings_port": "Port", - "install_settings_interface_link": "Your AdGuard Home admin web interface is available on {{link}}", + "install_settings_interface_link": "Your AdGuard Home admin web interface is available on <0>{{link}}", "form_error_port": "Enter valid port value", "install_settings_dns": "DNS server", - "install_settings_dns_desc": "You will need to configure your devices or router to use the DNS server at {{ip}}", + "install_settings_dns_desc": "You will need to configure your devices or router to use the DNS server at <0>{{ip}}", "install_auth_title": "Authentication", "install_auth_desc": "It is highly recommended to configure password authentication to your AdGuard Home admin web interface. Even if it is accessible only in your local network, it is still important to have it protected from unrestricted access.", "install_auth_username": "Username", diff --git a/client/src/components/Settings/Dhcp/index.js b/client/src/components/Settings/Dhcp/index.js index 6597fead..e80afd7c 100644 --- a/client/src/components/Settings/Dhcp/index.js +++ b/client/src/components/Settings/Dhcp/index.js @@ -97,21 +97,9 @@ class Dhcp extends Component { 'btn btn-primary btn-standard btn-loading': dhcp.processingStatus, }); const { - gateway_ip, interface_name, - lease_duration, - range_end, - range_start, - subnet_mask, + ...values } = dhcp.config; - const initialForm = { - gateway_ip, - lease_duration, - range_end, - range_start, - subnet_mask, - }; - const initialSelect = { interface_name }; return ( @@ -121,14 +109,14 @@ class Dhcp extends Component {
diff --git a/client/src/install/Setup/Settings.js b/client/src/install/Setup/Settings.js index 4a357827..d23bb3e4 100644 --- a/client/src/install/Setup/Settings.js +++ b/client/src/install/Setup/Settings.js @@ -80,7 +80,12 @@ let Settings = (props) => {
- install_settings_interface_link {`http://${interfaceIp}`} + link]} + values={{ link: `http://${interfaceIp}` }} + > + install_settings_interface_link +
@@ -121,7 +126,12 @@ let Settings = (props) => {

- install_settings_dns_desc {dnsIp} + ip]} + values={{ ip: dnsIp }} + > + install_settings_dns_desc +