]> git.proxmox.com Git - pve-manager.git/commit
ui: qemu/HardwareView: eslint: enforce "no-shadow" rule
authorAaron Lauterer <a.lauterer@proxmox.com>
Fri, 12 Feb 2021 15:57:49 +0000 (16:57 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Feb 2021 15:45:19 +0000 (16:45 +0100)
commitf8205155e98fca0880d9a1482dbbd1a75abbe422
tree5897d7816671e13826e7ab03b4c440f9287fc495
parent87f53aa85e66c3eaeb27b4376badb35c1663ab71
ui: qemu/HardwareView: eslint: enforce "no-shadow" rule

By removing global vars 'i' and 'confid' and declaring them with let in the needed
context.

'i' wasn't necessary but had to be touched anyway.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
www/manager6/qemu/HardwareView.js