Fixing device listing issue

4.x.x
Ace 8 years ago
parent e0627bf748
commit b83479b214

@ -166,7 +166,7 @@ function loadDevices(searchType, searchParam) {
serviceURL = "/api/device-mgt/v1.0/devices";
} else if (permissionsUtil.hasPermission("LIST_OWN_DEVICES")) {
//Get authenticated users devices
serviceURL = "/api/device-mgt/v1.0/users/devices?username=" + currentUser;
serviceURL = "/api/device-mgt/v1.0/devices?username=" + currentUser;
} else {
$("#loading-content").remove();
$('#device-table').addClass('hidden');

Loading…
Cancel
Save