mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'entgra-175' into 'master'
Fix issue with re-configuring policy Closes product-iots#175 See merge request entgra/carbon-device-mgt!294
This commit is contained in:
commit
023e162f59
@ -148,6 +148,7 @@ $("#policy-name-input").focus(function () {
|
||||
skipStep["policy-platform"] = function (policyPayloadObj) {
|
||||
policy["name"] = policyPayloadObj["policyName"];
|
||||
policy["platform"] = policyPayloadObj["profile"]["deviceType"];
|
||||
policy["policyType"] = policyPayloadObj["policyType"];
|
||||
|
||||
var userRoleInput = $("#user-roles-input");
|
||||
var ownershipInput = $("#ownership-input");
|
||||
@ -488,6 +489,7 @@ var updatePolicy = function (policy, state) {
|
||||
var payload = {
|
||||
"policyName": policy["policyName"],
|
||||
"description": policy["description"],
|
||||
"policyType": policy["policyType"],
|
||||
"compliance": policy["selectedNonCompliantAction"],
|
||||
"ownershipType": null,
|
||||
"profile": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user