mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
add online event callback
This commit is contained in:
@@ -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)=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user