Merge pull request #369 from Megala21/master

Fixing count of roles
This commit is contained in:
Kamidu Sachith Punchihewa 2016-10-18 20:26:10 +05:30 committed by GitHub
commit d23af95cdd

View File

@ -56,6 +56,6 @@ $(document).ready(function () {
updateStats("/api/device-mgt/v1.0/users/count", "#user-count");
}
if ($("#role-count").data("role-count")) {
updateStats("/api/device-mgt/v1.0/roles?offset=0&limit=1", "#role-count");
updateStats("/api/device-mgt/v1.0/roles?offset=0&limit=1&user-store=all", "#role-count");
}
});