mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
Improve edit event from inicio
This commit is contained in:
@@ -210,12 +210,14 @@ export class SearchPage implements OnInit {
|
||||
|
||||
res.Categories.forEach( e => {
|
||||
e['Active'] = false;
|
||||
this.searchCategories.push(e)
|
||||
});
|
||||
|
||||
// bind respose
|
||||
this.searchCategories = res.Categories;
|
||||
|
||||
this.searchDocuments = this.sortArrayISODate(res.Documents);
|
||||
this.sortArrayISODate(res.Documents).forEach(e => {
|
||||
this.searchDocuments.push(e)
|
||||
});
|
||||
|
||||
this.reorderList(this.ordinance);
|
||||
|
||||
@@ -235,12 +237,14 @@ export class SearchPage implements OnInit {
|
||||
|
||||
res.Categories.forEach( e => {
|
||||
e['Active'] = false;
|
||||
this.searchCategories.push(e)
|
||||
});
|
||||
|
||||
// bind respose
|
||||
this.searchCategories = res.Categories;
|
||||
|
||||
this.searchDocuments = this.sortArrayISODate(res.Documents);
|
||||
this.sortArrayISODate(res.Documents).forEach(e => {
|
||||
this.searchDocuments.push(e)
|
||||
});
|
||||
|
||||
this.reorderList(this.ordinance);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user