Merge pull request #451 from madawas/IOTS-296

Fix issue with policy wrapper group select
merge-requests/7/head
Madawa Soysa 8 years ago committed by GitHub
commit 1a1ca1587f

@ -201,7 +201,7 @@ stepForwardFrom["policy-criteria"] = function () {
}
});
policy["selectedGroups"] = $("#groups-input").val();
if (policy["selectedGroup"] && (policy["selectedGroups"].length > 1 || policy["selectedGroups"][0] !== "NONE")) {
if (policy["selectedGroups"] && (policy["selectedGroups"].length > 1 || policy["selectedGroups"][0] !== "NONE")) {
policy["selectedGroups"] = createDeviceGroupWrapper(policy["selectedGroups"]);
}

Loading…
Cancel
Save