add online event callback

This commit is contained in:
Peter Maquiran
2021-08-31 10:19:45 +01:00
parent 81b825b6b8
commit 6ffccfa8b3
+2 -2
View File
@@ -159,9 +159,11 @@ export class HomePage implements OnInit {
'despachos', 'despachos',
() => { () => {
this.despachoRule.getList({updateStore: true}) this.despachoRule.getList({updateStore: true})
} }
) )
synchro.registerCallback('Online',()=>{ synchro.registerCallback('Online',()=>{
}) })
@@ -172,8 +174,6 @@ export class HomePage implements OnInit {
}) })
synchro.registerCallback('Notification', (DataArray)=> { synchro.registerCallback('Notification', (DataArray)=> {
this.storageService.get('Notifications').then((data)=>{ this.storageService.get('Notifications').then((data)=>{