Skip to content

Commit

Permalink
fix(google): fix autohealing clone logic
Browse files Browse the repository at this point in the history
  • Loading branch information
maggieneterval committed Jan 14, 2019
1 parent 6fe5e67 commit 786862b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ module.exports = angular
this.onEnableAutoHealingChange = function() {
// Prevent empty auto-healing policies from being overwritten by those of their ancestors
$scope.command.overwriteAncestorAutoHealingPolicy =
$scope.command.stack === 'clone' &&
$scope.command.viewState.mode === 'clone' &&
$scope.command.autoHealingPolicy != null &&
$scope.command.enableAutoHealing === false;
};
Expand Down

0 comments on commit 786862b

Please sign in to comment.