Skip to content
Snippets Groups Projects
Commit 9697f9d0 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #11698 TIME 0:10 add template type all

parent 18dd298f
No related branches found
No related tags found
No related merge requests found
...@@ -512,6 +512,10 @@ export class DocumentViewerComponent implements OnInit { ...@@ -512,6 +512,10 @@ export class DocumentViewerComponent implements OnInit {
let arrTypes: any = []; let arrTypes: any = [];
this.http.get('../../rest/attachmentsTypes').pipe( this.http.get('../../rest/attachmentsTypes').pipe(
tap((data: any) => { tap((data: any) => {
arrTypes.push({
id: 'all',
label: this.lang.others
});
Object.keys(data.attachmentsTypes).forEach(templateType => { Object.keys(data.attachmentsTypes).forEach(templateType => {
arrTypes.push({ arrTypes.push({
id: templateType, id: templateType,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment