mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Inicio page is offline
This commit is contained in:
@@ -132,6 +132,8 @@ export class HomePage implements OnInit {
|
||||
|
||||
mobilefirstConnect() {
|
||||
|
||||
console.log("Mobileconecct");
|
||||
|
||||
if(window['WLAuthorizationManager']) {
|
||||
if(window['WLAuthorizationManager'].obtainAccessToken) {
|
||||
window['WLAuthorizationManager'].obtainAccessToken("").then((token) => {
|
||||
@@ -176,12 +178,13 @@ export class HomePage implements OnInit {
|
||||
|
||||
|
||||
synchro.registerCallback('Online',()=>{
|
||||
console.log('Onlineee')
|
||||
|
||||
})
|
||||
|
||||
|
||||
synchro.registerCallback('Offline',()=>{
|
||||
|
||||
console.log('Offlineee')
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user