]> git.proxmox.com Git - pve-manager.git/commit
ui: guest import: separate disk mapping and rendering cleanly
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 28 Mar 2024 16:25:31 +0000 (17:25 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 28 Mar 2024 16:25:36 +0000 (17:25 +0100)
commit0bd4061da8c0e20522f81943c2202e5e4510b184
treef09c4d861cd659929b4044d58b33622e8cf1a5bc
parentddb5a882b45028848ee0394e8d0d1dc7dac5f6af
ui: guest import: separate disk mapping and rendering cleanly

handle mapping purely in the change handler for the prepare-for-virtio
checkbox and avoid any such mapping logic in the renderer, while
slightly longer the code is much easier to reason about.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/window/GuestImport.js