ui: fix project network listing failure in UI (#2536)

Fixes #2533
This commit is contained in:
dahn 2018-04-27 12:54:37 +02:00 committed by Rohit Yadav
parent 85203248a4
commit 296a3804b9

View File

@ -732,9 +732,9 @@
gateway: args.data.guestGateway
});
}
if (args.data.guestGateway != null && args.data.guestGateway.length > 0) {
if (args.data.guestNetmask != null && args.data.guestNetmask.length > 0) {
$.extend(dataObj, {
gateway: args.data.guestGateway
netmask: args.data.guestNetmask
});
}
if (args.data.externalId != null && args.data.externalId.length > 0) {