From 5135479d15b2b54c9568652dc2bf285cff1a3b26 Mon Sep 17 00:00:00 2001 From: Heriberto Luna Date: Mon, 16 Dec 2024 09:53:49 -0500 Subject: [PATCH] Properly declared a variable using let --- ui/k-info-panel/switch_info.kytos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/k-info-panel/switch_info.kytos b/ui/k-info-panel/switch_info.kytos index 6009fb7..256ac3e 100644 --- a/ui/k-info-panel/switch_info.kytos +++ b/ui/k-info-panel/switch_info.kytos @@ -157,7 +157,7 @@ this.interfaces = data['topology']['switches'][this.metadata['id']]['interfaces'] this.table_link_body = [] var id = "" - for (k_interface in this.interfaces){ + for (let k_interface in this.interfaces){ id = this.interfaces[k_interface].link if (id != ""){