mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
add online event callback
This commit is contained in:
@@ -159,21 +159,21 @@ export class HomePage implements OnInit {
|
||||
'despachos',
|
||||
() => {
|
||||
this.despachoRule.getList({updateStore: true})
|
||||
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
synchro.registerCallback('Online',()=>{
|
||||
|
||||
})
|
||||
|
||||
|
||||
synchro.registerCallback('Offline',()=>{
|
||||
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
synchro.registerCallback('Notification', (DataArray)=> {
|
||||
|
||||
this.storageService.get('Notifications').then((data)=>{
|
||||
|
||||
Reference in New Issue
Block a user