mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
fix duplication of credential kind options
This commit is contained in:
@@ -77,15 +77,6 @@ export function CredentialsList($scope, $rootScope, $location, $log,
|
|||||||
$scope.search(list.iterator);
|
$scope.search(list.iterator);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Load the list of options for Kind
|
|
||||||
GetChoices({
|
|
||||||
scope: $scope,
|
|
||||||
url: defaultUrl,
|
|
||||||
field: 'kind',
|
|
||||||
variable: 'credential_kind_options',
|
|
||||||
callback: 'choicesReadyCredential'
|
|
||||||
});
|
|
||||||
|
|
||||||
$scope.addCredential = function () {
|
$scope.addCredential = function () {
|
||||||
$state.transitionTo('credentials.add');
|
$state.transitionTo('credentials.add');
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user