|
|
@ -279,7 +279,9 @@ var getProviderData = function (timeFrom, timeTo) {
|
|
|
|
var serviceUrl = '/api/device-mgt/v1.0/geo-services/stats/' + deviceType + '/' + deviceId + '?from=' + timeFrom + '&to=' + timeTo;
|
|
|
|
var serviceUrl = '/api/device-mgt/v1.0/geo-services/stats/' + deviceType + '/' + deviceId + '?from=' + timeFrom + '&to=' + timeTo;
|
|
|
|
invokerUtil.get(serviceUrl,
|
|
|
|
invokerUtil.get(serviceUrl,
|
|
|
|
function (data) {
|
|
|
|
function (data) {
|
|
|
|
if(data === ""){showCurrentLocation(tableData);}
|
|
|
|
if (data === "") {
|
|
|
|
|
|
|
|
showCurrentLocation(tableData);
|
|
|
|
|
|
|
|
}
|
|
|
|
tableData = JSON.parse(data);
|
|
|
|
tableData = JSON.parse(data);
|
|
|
|
if (tableData.length === 0) {
|
|
|
|
if (tableData.length === 0) {
|
|
|
|
showCurrentLocation(tableData);
|
|
|
|
showCurrentLocation(tableData);
|
|
|
|