MOBILE-2795 messages: Fix contact opened automatically when it shouldn't
parent
49d283c22d
commit
eed3e95a9a
|
@ -73,6 +73,11 @@ export class AddonMessagesContactsPage implements OnDestroy {
|
|||
* User entered the page.
|
||||
*/
|
||||
ionViewDidEnter(): void {
|
||||
if (!this.splitviewCtrl.isOn()) {
|
||||
this.selectedUserId.contacts = null;
|
||||
this.selectedUserId.requests = null;
|
||||
}
|
||||
|
||||
this.tabsComponent && this.tabsComponent.ionViewDidEnter();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue