From 5012137f6c99fdc6d3d875ed1d40e1d7ebb8c0b0 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Mon, 24 Feb 2020 07:07:49 +0000 Subject: [PATCH] add lan ips to summary tab --- web/src/components/SummaryTab.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/src/components/SummaryTab.vue b/web/src/components/SummaryTab.vue index de41947b..979547dd 100644 --- a/web/src/components/SummaryTab.vue +++ b/web/src/components/SummaryTab.vue @@ -42,6 +42,12 @@ Public IP: {{ summary.public_ip}} + + + + + LAN IP: {{ localIPs }} +
@@ -131,7 +137,7 @@ export default { }); } }); - return ips; + return (ips.length === 1 ? ips[0] : ips.join(", ")) } } };