mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing iot operation bar not listing operations
This commit is contained in:
parent
6d4ddf7b54
commit
b2f31be1d6
@ -38,9 +38,9 @@ var operationModule = function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
privateMethods.getOperationsFromFeatures = function (deviceType, operationType) {
|
privateMethods.getOperationsFromFeatures = function (deviceType, operationType) {
|
||||||
var url = devicemgtProps["httpsURL"] + devicemgtProps["backendRestEndpoints"]["deviceMgt"] + "/features/" + deviceType;
|
var url = devicemgtProps["httpsURL"] + devicemgtProps["backendRestEndpoints"]["deviceMgt"] + "/device-types/" + deviceType + "/features";
|
||||||
var featuresList = serviceInvokers.XMLHttp.get(url, function (responsePayload) {
|
var featuresList = serviceInvokers.XMLHttp.get(url, function (responsePayload) {
|
||||||
var features = responsePayload;
|
var features = JSON.parse(responsePayload.responseText);
|
||||||
var featureList = [];
|
var featureList = [];
|
||||||
var feature;
|
var feature;
|
||||||
for (var i = 0; i < features.length; i++) {
|
for (var i = 0; i < features.length; i++) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user