Skip to content
Snippets Groups Projects
Commit 5cbf2eb3 authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FEAT #13362 TIME 0:15 reset template type when choosing indexingFile target

parent a129c3ae
No related branches found
No related tags found
No related merge requests found
...@@ -377,7 +377,7 @@ export class TemplateAdministrationComponent implements OnInit { ...@@ -377,7 +377,7 @@ export class TemplateAdministrationComponent implements OnInit {
} }
updateTemplateType() { updateTemplateType() {
if (this.template.template_target == 'attachments') { if (this.template.template_target == 'attachments' || this.template.template_target == 'indexingFile') {
this.template.template_type = 'OFFICE'; this.template.template_type = 'OFFICE';
} else if (this.template.template_target == 'notifications' || this.template.template_target == 'doctypes' || this.template.template_target == 'sendmail') { } else if (this.template.template_target == 'notifications' || this.template.template_target == 'doctypes' || this.template.template_target == 'sendmail') {
this.template.template_type = 'HTML'; this.template.template_type = 'HTML';
......
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