Skip to content
Snippets Groups Projects
Commit 57029498 authored by Vinciane's avatar Vinciane
Browse files

FIX #9511 Editing new model in update

parent a3caa5e5
No related branches found
No related tags found
No related merge requests found
...@@ -225,7 +225,7 @@ export class TemplateAdministrationComponent implements OnInit { ...@@ -225,7 +225,7 @@ export class TemplateAdministrationComponent implements OnInit {
} }
startJnlp() { startJnlp() {
if (this.creationMode) { if (this.creationMode || (this.template.template_file_name == null && this.template.template_path == null)) {
this.jnlpValue.objectType = 'templateCreation'; this.jnlpValue.objectType = 'templateCreation';
for (let element of this.defaultTemplatesList) { for (let element of this.defaultTemplatesList) {
if (this.template.template_style == element.fileExt + ': ' + element.fileName) { if (this.template.template_style == element.fileExt + ': ' + element.fileName) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment