From b674d6933360797fa8ec9b90397432119e517be7 Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Fri, 18 Jan 2019 20:12:56 -0800 Subject: [PATCH] Fix crash on network page due to incorrect use of input tags Input tags should not have children, and should be marked as read-only. Signed-off-by: Mcat12 --- src/components/settings/NetworkInfo.js | 39 +++++++++++++++++--------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/src/components/settings/NetworkInfo.js b/src/components/settings/NetworkInfo.js index f81da3e..884ebc0 100644 --- a/src/components/settings/NetworkInfo.js +++ b/src/components/settings/NetworkInfo.js @@ -33,9 +33,12 @@ class NetworkInfo extends Component { {t("Interface")} - - {this.props.interface} - + @@ -43,9 +46,12 @@ class NetworkInfo extends Component { {t("IPv4 address")} - - {this.props.ipv4Address} - + @@ -53,9 +59,12 @@ class NetworkInfo extends Component { {t("IPv6 address")} - - {this.props.ipv6Address} - + @@ -63,9 +72,12 @@ class NetworkInfo extends Component { {t("Hostname")} - - {this.props.hostname} - + @@ -95,7 +107,8 @@ export default props => ( (