mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Fixed bug with REVERT button display
This commit is contained in:
parent
068473bdac
commit
b033319fff
@ -474,7 +474,7 @@ export default
|
||||
let machineCredentialMatches = true;
|
||||
let extraCredentialsMatch = true;
|
||||
|
||||
if($scope.defaults.credential) {
|
||||
if($scope.defaults.credential && $scope.defaults.credential.id) {
|
||||
if(!$scope.selected_credentials.machine || ($scope.selected_credentials.machine && $scope.selected_credentials.machine.id !== $scope.defaults.credential.id)) {
|
||||
machineCredentialMatches = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user