Fix operation log and device view displaying issue

As a result of syntax issue, device view and operation logs viewing is broken. Therefore fixed the syntax issue.

This Resolves wso2/product-iots#1728
4.x.x
lasantha 7 years ago
parent 9a06578ac2
commit 9c85c4afdd

@ -146,8 +146,6 @@ function loadOperationsLog(update) {
tr.removeClass('shown'); tr.removeClass('shown');
} else { } else {
invokerUtil.get(uri, function (payload) { invokerUtil.get(uri, function (payload) {
} {
//update the parent status //update the parent status
var payloadObject = JSON.parse(payload); var payloadObject = JSON.parse(payload);
if ( payloadObject["activityStatus"][0]["status"] != rowData["status"] ) { if ( payloadObject["activityStatus"][0]["status"] != rowData["status"] ) {

Loading…
Cancel
Save