From 0e3dc04af8636a908389ba27b13673ae5ff4cc28 Mon Sep 17 00:00:00 2001 From: Christian Ditaputratama Date: Mon, 9 Sep 2024 19:50:30 +0700 Subject: [PATCH] fix: Formatting IPv6 display #84 Wraps IPv6 host in square brackets, returns as-is for domain names or IPv4 addresses. --- .../datatables/xmr/HostPortCell.svelte | 3 ++- frontend/src/lib/utils/strings.js | 23 +++++++++++++++++++ .../src/routes/remote-nodes/logs/+page.svelte | 4 ++-- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/frontend/src/lib/components/datatables/xmr/HostPortCell.svelte b/frontend/src/lib/components/datatables/xmr/HostPortCell.svelte index afc45a6..9a230cd 100644 --- a/frontend/src/lib/components/datatables/xmr/HostPortCell.svelte +++ b/frontend/src/lib/components/datatables/xmr/HostPortCell.svelte @@ -1,5 +1,6 @@