]> git.proxmox.com Git - pve-manager.git/commit
ui: guest import: use view-model for unique-mac-addr state
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Mar 2024 09:33:41 +0000 (10:33 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Mar 2024 09:36:03 +0000 (10:36 +0100)
commit2d101e4539e2c0be75c294248d85084f0e749406
tree28026c4e5b2f21ea09bc24a7a58c9a50823f57fd
parentd71556966f140ee8a713554c8a29e07f80b66449
ui: guest import: use view-model for unique-mac-addr state

Avoid some global widget config to store internal state, rather use
the existing viewModel for that.

Also avoid unnecessary references and switch to a boxLabel, drop also
the tooltip, as that doesn't add much here where the effect can be
seen in the grid.

Avoid reconfiguring all grids if only the network one can have changed
due to a change of this check box value.

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