From 9edd0bc15fb9ebfc37b10ea3f4028b666b244d47 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Mon, 30 Aug 2021 12:17:20 +0100 Subject: [PATCH] console.log the notification onject --- src/app/home/home.page.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts index 121484eed..912061afe 100644 --- a/src/app/home/home.page.ts +++ b/src/app/home/home.page.ts @@ -156,15 +156,15 @@ export class HomePage implements OnInit { updateList() { this.notificationsService.registerCallback( - 'any', + 'despachos', () => { this.despachoRule.getList({updateStore: true}) } ) - // synchro.registerCallback('Notification', (DataArray)=> { - - // }, 'any') + synchro.registerCallback('Notification', (notification)=> { + console.log('notification====== £=======£==========£======', notification) + }, 'any') }