Skip to content

Commit

Permalink
Fix for create credential UI (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Lane authored Dec 16, 2019
1 parent 4935f19 commit 7a1b0f6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
deferred.reject();
});
} else {
// A new credential is being created
$scope.credential = {
name: '',
enabled: true,
Expand All @@ -97,6 +98,10 @@
};
credentialCopy = angular.copy($scope.credential);
$scope.shown = true;
$scope.hasView = true;
$scope.hasModify = true;
// TODO: need a hasCreate here, which we'd get determine
// based on config endpoint.
}

$scope.showValue = function(credentialPair) {
Expand Down

0 comments on commit 7a1b0f6

Please sign in to comment.