[pve-devel] [PATCH manager 4/4] ui: qemu: Add disk reassign dialog
Dominic Jäger
d.jaeger at proxmox.com
Mon Aug 31 12:55:40 CEST 2020
Somehow my eslint complains about undefined variables?
Maybe the "const" from the example [0] is required?
On Tue, Aug 25, 2020 at 05:14:26PM +0200, Aaron Lauterer wrote:
> + let dropdownData = [];
> + for ([vmid, data] of Object.entries(vms)) {
> + if (vmid === me.vmid) { continue; }
> + dropdownData.push({
> + vmid: vmid,
> + name: `${vmid} ${data.name}`,
> + });
> + }
[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries
More information about the pve-devel
mailing list