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') }