add online event callback

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