change agenda

This commit is contained in:
Peter Maquiran
2023-03-30 14:31:58 +01:00
parent 8deed4cf94
commit b7d878851e
13 changed files with 350 additions and 723 deletions
+5 -5
View File
@@ -638,7 +638,7 @@ export class SearchPage implements OnInit {
res.Categories.forEach( e => {
e['Active'] = false;
if(!environment.presidencial) {
if(!environment.presidential) {
e['Name'] = "Publicações"
}
});
@@ -649,7 +649,7 @@ export class SearchPage implements OnInit {
}
for ( const a of this.sortArrayISODate(res.Documents)) {
if(!environment.presidencial) {
if(!environment.presidential) {
a.DocTypeDesc = "Publicações"
}
this.searchDocuments.push(a);
@@ -689,12 +689,12 @@ export class SearchPage implements OnInit {
res.Categories.forEach( e => {
e['Active'] = false;
if(!environment.presidencial) {
if(!environment.presidential) {
e['Name'] = "Acções"
}
});
if(!environment.presidencial) {
if(!environment.presidential) {
// bind respose
for ( const a of res.Categories) {
this.searchCategories.push(a);
@@ -704,7 +704,7 @@ export class SearchPage implements OnInit {
for ( const a of this.sortArrayISODate(res.Documents)) {
if(!environment.presidencial) {
if(!environment.presidential) {
a.DocTypeDesc = "Acções"
this.searchDocuments.push(a);
}