Commit 590c3b4b by Torkel Ödegaard

Fixes to account users view

parent efe7279e
...@@ -26,7 +26,7 @@ function (angular) { ...@@ -26,7 +26,7 @@ function (angular) {
$scope.removeUser = function(user) { $scope.removeUser = function(user) {
backendSrv.request({ backendSrv.request({
method: 'DELETE', method: 'DELETE',
url: '/api/account/users/' + user.id, url: '/api/account/users/' + user.userId
}).then($scope.get); }).then($scope.get);
}; };
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
role role
</li> </li>
<li> <li>
<select type="text" ng-model="user.role" class="input-small tight-form-input" ng-options="f for f in ['viewer', 'editor', 'admin']"> <select type="text" ng-model="user.role" class="input-small tight-form-input" ng-options="f for f in ['Viewer', 'Editor', 'Admin']">
</select> </select>
</li> </li>
<li> <li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment