remove promise bug

This commit is contained in:
Eudes Inácio
2022-12-20 17:06:19 +01:00
parent c8d62760ce
commit 111214d231
22 changed files with 128 additions and 42 deletions
+11 -1
View File
@@ -531,6 +531,7 @@ export class AgendaPage implements OnInit {
this.showTimeline = true;
}).catch((error) => {
console.error(error)
this.getFromDB();
}).finally(() => {
this.showLoader = false;
@@ -589,6 +590,7 @@ export class AgendaPage implements OnInit {
}).catch((error) => {
console.error(error)
this.getFromDB()
})
.finally(() => {
@@ -622,6 +624,7 @@ export class AgendaPage implements OnInit {
this.showTimeline = true;
}).catch((error) => {
console.error(error)
this.getFromDB();
}).finally(() => {
this.showLoader = false;
@@ -646,6 +649,7 @@ export class AgendaPage implements OnInit {
this.showTimeline = true;
}).catch((error) => {
console.error(error)
this.getFromDB()
}).finally(() => {
this.showLoader = false;
@@ -686,6 +690,7 @@ export class AgendaPage implements OnInit {
}).catch((error) => {
console.error(error)
this.getFromDB()
}).finally(() => {
counter++;
@@ -757,6 +762,7 @@ export class AgendaPage implements OnInit {
}).catch((error) => {
console.error(error)
this.getFromDB()
}).finally(() => {
this.showLoader = false;
@@ -794,6 +800,7 @@ export class AgendaPage implements OnInit {
}).catch((error) => {
console.error(error)
this.getFromDB()
}).finally(() => {
counter++;
@@ -840,6 +847,7 @@ export class AgendaPage implements OnInit {
}
}).catch((error) => {
console.error(error)
this.getFromDB()
})
.finally(() => {
@@ -995,7 +1003,9 @@ export class AgendaPage implements OnInit {
})
}
})
}).catch ((error) => {
console.error(error);
});
}
@@ -148,7 +148,9 @@ export class ViewEventPage implements OnInit {
})
}
})
}).catch ((error) => {
console.error(error);
});
}