diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/utility.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/utility.js index 38cb7032ba7..9bdbe12353b 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/utility.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/utility.js @@ -129,7 +129,7 @@ utility = function () { log.error("User object was not found in the session"); throw constants.ERRORS.USER_NOT_FOUND; } - var unitName = user.domain + "cdmf.unit.device.type." + deviceType + "." + unitPostfix; + var unitName = user.domain + ".cdmf.unit.device.type." + deviceType + "." + unitPostfix; if (new File("/app/units/" + unitName).isExists()) { return unitName; }