mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
fix bug in search
This commit is contained in:
@@ -202,9 +202,10 @@ export class SearchPage implements OnInit {
|
||||
this.showSearchDocuments = this.sortArrayISODate(this.searchDocuments)
|
||||
}
|
||||
|
||||
|
||||
if(this.findOnly.length >= 1) {
|
||||
this.showSearchDocuments = this.showSearchDocuments.filter((e)=> this.findOnly.includes(e.ApplicationType))
|
||||
if(this.findOnly){
|
||||
if(this.findOnly.length >= 1) {
|
||||
this.showSearchDocuments = this.showSearchDocuments.filter((e)=> this.findOnly.includes(e.ApplicationType))
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user