mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
parent
469e5f824c
commit
ccd1b5c8eb
@ -309,9 +309,9 @@ define(function(require) {
|
||||
var anchorAttributes = {class: "detachnic", href: "VM.detachnic"};
|
||||
var anchor = $("<a/>",anchorAttributes).append(icon); //"<a href=\"VM.detachnic\" class=\"detachnic\" ><i class=\"fas fa-times\"/></a>";
|
||||
if (validateState(that,"VM.attachnic") && OpenNebulaVM.isNICAttachSupported(that.element)) {
|
||||
html += isFirecracker(that) && anchor.get(0).outerHTML;
|
||||
actions += isFirecracker(that) && anchor.get(0).outerHTML;
|
||||
} else {
|
||||
html += !isFirecracker(that) && anchor.get(0).outerHTML;
|
||||
actions += !isFirecracker(that) && anchor.get(0).outerHTML;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user