mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Bug fix notification route
This commit is contained in:
@@ -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);
|
||||
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user