mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
improve
This commit is contained in:
@@ -152,10 +152,13 @@ export class HomePage implements OnInit {
|
||||
} else {
|
||||
this.synchWhenOnline()
|
||||
}
|
||||
|
||||
//this.WsChatService.login()
|
||||
});
|
||||
window.addEventListener('offline', () => {
|
||||
console.log('Became offline')
|
||||
this.backgroundservice.offline()
|
||||
//this.WsChatService.logout()
|
||||
});
|
||||
|
||||
this.updateList()
|
||||
|
||||
Reference in New Issue
Block a user