diff --git a/src/frontend/app/list/filters/filters-tool.component.ts b/src/frontend/app/list/filters/filters-tool.component.ts index 9f6365f6c131ceb3931da6c22d9a03dbd2baa03e..8aa7905da1df98a189fa75c36c11168bdac4d4a2 100644 --- a/src/frontend/app/list/filters/filters-tool.component.ts +++ b/src/frontend/app/list/filters/filters-tool.component.ts @@ -270,7 +270,7 @@ export class FiltersToolComponent implements OnInit { }); data.doctypes.forEach((element: any) => { - if (this.listProperties.doctypes.map((doctype: any) => (doctype.id)).indexOf(element.id) === -1 && this.listProperties.doctypes == 0) { + if (this.listProperties.doctypes.map((doctype: any) => (doctype.id)).indexOf(element.id) === -1) { this.stateGroups[5].names.push( { id: 'doctypes',