fix duplication of credential kind options

This commit is contained in:
John Mitchell
2016-08-10 14:50:03 -04:00
parent f9c8559bc2
commit 5761021f7e

View File

@@ -77,15 +77,6 @@ export function CredentialsList($scope, $rootScope, $location, $log,
$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 () {
$state.transitionTo('credentials.add');
};