Skip to content

Commit

Permalink
Properly declared a variable using let
Browse files Browse the repository at this point in the history
  • Loading branch information
HeriLFIU committed Dec 16, 2024
1 parent d0503c3 commit 5135479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/k-info-panel/switch_info.kytos
Original file line number Diff line number Diff line change
Expand Up @@ -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 != ""){
Expand Down

0 comments on commit 5135479

Please sign in to comment.