mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-22 13:33:52 +03:00
B #5187: Fix when change nic on vm dialog
This commit is contained in:
parent
3ad30d2a7b
commit
9c583bd3d2
@ -209,7 +209,10 @@ define(function(require) {
|
||||
}
|
||||
preserveNetwork = true;
|
||||
}else{
|
||||
if(nic && nic.FROM && nic.FROM==='TEMPLATE'){
|
||||
if (
|
||||
nic && nic.FROM && nic.FROM === 'TEMPLATE' &&
|
||||
nic["NETWORK_ID"] === val
|
||||
) {
|
||||
delete nic['FROM'];
|
||||
nics.push(nic);
|
||||
return; //continue
|
||||
|
Loading…
Reference in New Issue
Block a user