mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
fix a bug that came from API refactor.
This commit is contained in:
parent
863a94d3d2
commit
1cd5526911
@ -1846,7 +1846,7 @@ function toBooleanValue(booleanText) {
|
||||
}
|
||||
|
||||
function toNetworkType(usevirtualnetwork) {
|
||||
if(usevirtualnetwork == "true")
|
||||
if(usevirtualnetwork == true || usevirtualnetwork == "true")
|
||||
return "Public";
|
||||
else
|
||||
return "Direct";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user