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

B #5707: Fix detail view for VM in pending state (#1834)

This commit is contained in:
Sergio Betanzos 2022-03-11 12:22:13 +01:00 committed by GitHub
parent 058276c148
commit 494311499a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1294,7 +1294,8 @@ define(function(require) {
var actionEnabled = Config.isTabActionEnabled("vms-tab", "VM.save_virt_viewer");
var vncSupported = graphicSupported(element, "vnc");
var spiceSupported = graphicSupported(element, "spice");
var isKVM = history.HID ? isKVMVM(history.HID) : false;
var hostId = history && history.HID
var isKVM = hostId ? isKVMVM(hostId) : false;
return (actionEnabled && history && (vncSupported || spiceSupported) && isKVM)
? {