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 #17793: Importing technique leads to a blocked editor #1223

Conversation

ElaadF
Copy link
Member

@ElaadF ElaadF commented Jun 25, 2020

builder/js/ncf.js Outdated Show resolved Hide resolved
builder/js/ncf.js Outdated Show resolved Hide resolved
@ElaadF
Copy link
Member Author

ElaadF commented Jun 25, 2020

Commit modified

@ElaadF ElaadF force-pushed the bug_17793/importing_technique_leads_to_a_blocked_editor branch from 82aab5a to 65571d3 Compare June 25, 2020 13:33
@@ -1337,7 +1382,7 @@ $scope.onImportFileChange = function (fileEl) {
ncfTechnique = data.data.techniques.technique;

// Transform back ncfTechnique to UITechnique, that will make it ok
var savedTechnique = toTechUI(ncfTechnique);
var savedTechnique = toTechUI(ncfTechnique, 2.0);
Copy link
Member

Choose a reason for hiding this comment

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

should be a string

Copy link
Member

Choose a reason for hiding this comment

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

In fact ... it does not work with an int, and you could simplify with 1 or 2

Copy link
Member

Choose a reason for hiding this comment

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

ok I'm merging then

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 8711ba0 into Normation:branches/rudder/6.1 Jun 25, 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