Commit 9697f9d0 authored by Alex ORLUC's avatar Alex ORLUC

FEAT #11698 TIME 0:10 add template type all

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