From 96e7a3bdbcdd91c312976cab59512942885fe059 Mon Sep 17 00:00:00 2001 From: Frederick Borges Date: Tue, 28 Sep 2021 16:43:30 +0200 Subject: [PATCH] B #~: Show backup info when HYPERVISOR attribute not set (#1488) (cherry picked from commit 29d8e0f1599117d9731ff7a4e68286414dcfcd3e) --- src/sunstone/public/app/utils/panel/permissions-table.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sunstone/public/app/utils/panel/permissions-table.js b/src/sunstone/public/app/utils/panel/permissions-table.js index 419bbea627..4f1f7f44ad 100644 --- a/src/sunstone/public/app/utils/panel/permissions-table.js +++ b/src/sunstone/public/app/utils/panel/permissions-table.js @@ -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){