Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #16573: Technique resource modifications do not activate the save button #1141

Conversation

RaphaelGauthier
Copy link
Member

@@ -1330,6 +1337,7 @@ $scope.onImportFileChange = function (fileEl) {
// If we were cloning a technique, remove its 'clone' state
savedTechnique.isClone = false;
$scope.originalTechnique = angular.copy(savedTechnique);
$scope.originalTechnique.resources = undefined;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a comment here ? to explain the resources will be reset by resource manager if original technique resources are undefined ?

@RaphaelGauthier
Copy link
Member Author

PR updated with a new commit

@Normation-Quality-Assistant
Copy link
Contributor

OK, squash merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant force-pushed the bug_16573/technique_resource_modifications_do_not_activate_the_save_button branch from 7628b61 to a2438c2 Compare February 6, 2020 22:18
@Normation-Quality-Assistant Normation-Quality-Assistant merged commit a2438c2 into Normation:branches/rudder/6.0 Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants