' +
- '
' +
- '
' +
- '' + ((responseMsg == null) ? entry.status : responseMsg) + '
' +
- '
' +
- '
' +
- '
' + entry.updatedTimestamp + '
' +
- '
' +
- '
';
- }
- );
+ $. each (payload.activityStatus, function (key, entry) {
+ logStream += '' +
+ '
' +
+ '
' +
+ '' + entry.status + '
' +
+ '
' +
+ '
' +
+ '
' + entry.updatedTimestamp + '
' +
+ '
' +
+ '
';
+ });
logStream += '';
return logStream;
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.effective-policy.view/public/js/view.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.effective-policy.view/public/js/view.js
index bb11a38d26..c28deb2db5 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.effective-policy.view/public/js/view.js
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.effective-policy.view/public/js/view.js
@@ -27,19 +27,19 @@ var displayPolicy = function (policyPayloadObj) {
$("#policy-action").text(policyPayloadObj.compliance.toUpperCase());
$("#policy-description").text(policyPayloadObj["description"]);
var policyStatus = "Active";
- if (policyPayloadObj["active"] == true && policyPayloadObj["updated"] == true) {
+ if (policyPayloadObj["active"] === true && policyPayloadObj["updated"] === true) {
policyStatus = '