This commit is contained in:
Peter Maquiran
2022-12-17 16:19:23 +01:00
parent 82ff899199
commit 8aea090a37
6 changed files with 24 additions and 16 deletions
+9 -1
View File
@@ -259,6 +259,7 @@ export class SearchPage implements OnInit {
if(this.type == "Agenda" ){
alert('agenda seach')
this.showLoader = true;
@@ -287,7 +288,8 @@ export class SearchPage implements OnInit {
this.loadWordCloud();
},error => {
this.searchResult = "Registo não encontrado"
this.showLoader = false;
// this.searchResult = "Registo não encontrado"
console.log(error)
});
}
@@ -551,6 +553,11 @@ export class SearchPage implements OnInit {
this.loadWordCloud();
},error => {
counter++;
if(counter ==2){
this.showLoader = false;
}
this.searchResult = "Registo não encontrado"
console.log(error)
});
@@ -586,6 +593,7 @@ export class SearchPage implements OnInit {
this.showLoader = false;
this.loadWordCloud();
},error => {
this.showLoader = false;
this.searchResult = "Registo não encontrado"
console.log(error)
});