From a6ddf74104dad20cfdb206985b89478fec9f5ce3 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 22 Oct 2024 15:06:49 +0100 Subject: [PATCH] fix: selected node --- src/bin/super/superapp/src/ViewNodes.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/super/superapp/src/ViewNodes.svelte b/src/bin/super/superapp/src/ViewNodes.svelte index 6b585e78..40375979 100644 --- a/src/bin/super/superapp/src/ViewNodes.svelte +++ b/src/bin/super/superapp/src/ViewNodes.svelte @@ -101,7 +101,7 @@ async function get_current_service_details() { for (let i = 0; i < $remotes.length; i++) { const remote = $remotes[i]; - if (remote.host === remote.host) { + if (remote.host === $selectedNode) { node = { ...remote }; try { const response = await get_swarm_instance_type({