1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

B #~: Show backup info when HYPERVISOR attribute not set (#1488)

(cherry picked from commit 29d8e0f1599117d9731ff7a4e68286414dcfcd3e)
This commit is contained in:
Frederick Borges 2021-09-28 16:43:30 +02:00 committed by Tino Vazquez
parent ccfecb71df
commit 96e7a3bdbc

View File

@ -61,8 +61,9 @@ define(function(require) {
// but it could be extended to another resources
if (resourceType == "VM" &&
element.USER_TEMPLATE &&
(!element.USER_TEMPLATE.HYPERVISOR ||
element.USER_TEMPLATE.HYPERVISOR &&
element.USER_TEMPLATE.HYPERVISOR != "vcenter") {
element.USER_TEMPLATE.HYPERVISOR != "vcenter")) {
var last_backup;
if (element.USER_TEMPLATE.BACKUP &&
element.USER_TEMPLATE.BACKUP.LAST_BACKUP_TIME){