Commit 590c3b4b by Torkel Ödegaard

Fixes to account users view

parent efe7279e
......@@ -26,7 +26,7 @@ function (angular) {
$scope.removeUser = function(user) {
backendSrv.request({
method: 'DELETE',
url: '/api/account/users/' + user.id,
url: '/api/account/users/' + user.userId
}).then($scope.get);
};
......
......@@ -26,7 +26,7 @@
role
</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>
</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