mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +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;
|
preserveNetwork = true;
|
||||||
}else{
|
}else{
|
||||||
if(nic && nic.FROM && nic.FROM==='TEMPLATE'){
|
if (
|
||||||
|
nic && nic.FROM && nic.FROM === 'TEMPLATE' &&
|
||||||
|
nic["NETWORK_ID"] === val
|
||||||
|
) {
|
||||||
delete nic['FROM'];
|
delete nic['FROM'];
|
||||||
nics.push(nic);
|
nics.push(nic);
|
||||||
return; //continue
|
return; //continue
|
||||||
|
Loading…
Reference in New Issue
Block a user