Fix take ownership of organizations
Take ownership code got moved into its own directive in Oct, but we forgot we have a call in superuser panel for orgs as well. Fix this, and simplify the call sites
This commit is contained in:
parent
789e35668c
commit
1d3af2b0bd
4 changed files with 32 additions and 12 deletions
|
@ -228,10 +228,9 @@ angular.module('quay').directive('manageUserTab', function () {
|
|||
});
|
||||
};
|
||||
|
||||
$scope.askTakeOwnership = function (entity, is_org) {
|
||||
$scope.askTakeOwnership = function (entity) {
|
||||
$scope.takeOwnershipInfo = {
|
||||
'entity': entity,
|
||||
'is_org': is_org
|
||||
'entity': entity
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue