Bug fix notification route

This commit is contained in:
Eudes Inácio
2021-04-12 09:57:51 +01:00
parent 8340e7e620
commit e1e4e00ab7
+1 -2
View File
@@ -107,7 +107,7 @@ export class HomePage implements OnInit {
this.fcm.onNotification().subscribe(data => {
this.viewEventDetail(data.IdObject)
if (data.click_action) {
if (data.wasTapped) {
console.log("Received in background: ", data);
if (data.Service === "agenda") {
@@ -136,7 +136,6 @@ export class HomePage implements OnInit {
console.log(data.Service)
console.log(data.Object)
console.log(data.IdObject)
//this.openApproveModal(data.IdObject);
};
});