mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
save
This commit is contained in:
@@ -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)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user