mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #729 from ruwany/master
Adding fix for status 500 in device listing page
This commit is contained in:
commit
628a938637
@ -80,7 +80,7 @@ function onRequest(context) {
|
||||
}
|
||||
|
||||
var mdmProps = require("/app/modules/conf-reader/main.js")["conf"];
|
||||
var cUser = userModule.getUser();
|
||||
var cUser = userModule.getCarbonUser();
|
||||
var analiticsServer = mdmProps["dashboardServerURL"];
|
||||
var analiticsURL = analiticsServer + "/portal/t/" + cUser.userDomain + "/dashboards/android-iot/battery?owner=" + cUser.username + "&deviceId=";
|
||||
viewModel.analiticsURL = analiticsURL;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user