From 46b7202d77dc0f266a0f8a5294760fdbad0c0858 Mon Sep 17 00:00:00 2001 From: dinger1986 Date: Sun, 10 Mar 2024 15:58:12 +0000 Subject: [PATCH] Update SummaryTab.vue --- src/components/agents/SummaryTab.vue | 29 ++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/src/components/agents/SummaryTab.vue b/src/components/agents/SummaryTab.vue index ebfc472c..c45a4839 100644 --- a/src/components/agents/SummaryTab.vue +++ b/src/components/agents/SummaryTab.vue @@ -123,10 +123,25 @@ - + - Public IP: {{ summary.public_ip }} - + + Public IP: {{ summary.public_ip }} + + + + Get Info on IP + + + + @@ -305,6 +320,11 @@ export default { return ret; }); + // Define the openURL method within setup + const openURL = (url) => { + window.open(url, '_blank'); + }; + const customFields = computed(() => { if (!summary.value.custom_fields) { return []; @@ -386,7 +406,8 @@ export default { serial_number, cpu, store, - + openURL, + // methods getSummary, refreshSummary,