forked from EVOgeek/Vmeda.Online
MOBILE-3401 login: Do not unload site if view not destroyed
parent
247e31add4
commit
f6a63d53e5
|
@ -93,16 +93,9 @@ export class CoreLoginCredentialsPage {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* View enter.
|
* View destroyed.
|
||||||
*/
|
*/
|
||||||
ionViewDidEnter(): void {
|
ionViewWillUnload(): void {
|
||||||
this.viewLeft = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* View left.
|
|
||||||
*/
|
|
||||||
ionViewDidLeave(): void {
|
|
||||||
this.viewLeft = true;
|
this.viewLeft = true;
|
||||||
this.eventsProvider.trigger(CoreEventsProvider.LOGIN_SITE_UNCHECKED, { config: this.siteConfig }, this.siteId);
|
this.eventsProvider.trigger(CoreEventsProvider.LOGIN_SITE_UNCHECKED, { config: this.siteConfig }, this.siteId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue