-
Notifications
You must be signed in to change notification settings - Fork 182
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
Ruleset Files moved to rules/decoders section #1304
Conversation
@@ -86,6 +147,21 @@ export class FilesController { | |||
} | |||
} | |||
|
|||
addNewFile = type => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addNewFile = type => {
--> addNewFile(type) {
this.$scope.fetchedXML = '<!-- Modify it at your will. -->'; | ||
this.$scope.type = type; | ||
this.$scope.cancelSaveAndOverwrite(); | ||
if (!this.$scope.$$phase) $scope.$digest(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (!this.$scope.$$phase) $scope.$digest();
--> this.$scope.$applyAsync();
this.$location.search('editingFile', true); | ||
this.appState.setNavigation({ status: true }); | ||
this.$scope.$emit('fetchedFile', { data: this.$scope.fetchedXML }); | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove ;
Other fixes this PR includes:
|
Good job @juankaromo ! |
Hi team,
This PR places files management within its appropriate section (rules or decoders), and change the new file creation place to it.
This PR solves #1298
Regards