]> git.proxmox.com Git - pve-manager.git/commit
ui: avoid errors when 'template' property is not present in guest status
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 11 Mar 2021 10:26:46 +0000 (11:26 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 15 Mar 2021 12:59:52 +0000 (13:59 +0100)
commit23b596dce00d3baa65bc91f715529c33e59c28ad
tree1a197a70d9213460b1b9c16f35f419829d64ca06
parent9ae4a024f06f6c62d68b484eb9f3d56652502e80
ui: avoid errors when 'template' property is not present in guest status

The API doesn't advertise the property as non-optional and it's safer and more
in line with the surrounding code.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
www/manager6/lxc/Config.js
www/manager6/qemu/Config.js