Clear screen after transition - IONIC app

1

I'm creating an app with ionic and angular, and I'm making use of tabs. I have 5 tabs, and one of them displays a "Menu" page, this page contains the listing of other pages that are not on the tabs, each item in that listing redirects to a different page.

My problem is that when I click on the Menu tab, it displays the listing and I select the page I want to go to, but if I click on another tab, and then click on the Menu tab again, it will no longer list of items, but will display the last page I had accessed through the Menu.

To become clearer ::: Click on the menu / I see the listing of items / I select the item Customers / I'm redirected to the Customers / when I click on another tab (example: Products), I am redirected to Product / but when I click the Menu tab again, it does not display the page with the items, but rather the Customers page, which I had previously accessed.

I do not think there is an error in my code, but I would like to know if there is any ionic function that I can use to do this clean after I leave the page, I tried the ionViewDidLeave, but it did not work.

    
asked by anonymous 11.05.2018 / 18:10

0 answers