]> git.proxmox.com Git - pmg-gui.git/commit
node info: avoid setting undefined in view model
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 13 Jul 2021 13:18:28 +0000 (15:18 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 13 Jul 2021 13:18:31 +0000 (15:18 +0200)
commit774418f08b10c651357d11ccb161ac075e1ae905
treecda0d1f6f71043917a0ec92826e205dd70ab89f4
parent91a4c642df94e5d09b3e08dfbe545c3f20e90859
node info: avoid setting undefined in view model

undefined is used as delete when set to a normal data-path of a view
model, so, we need an actual defined value here as else we cannot
decide if the view model was ever initialized or not.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/dashboard/NodeInfo.js