I'm having trouble with navCtrl.push
. The flow is as follows:
Onpages1.1,1.2e1.3
IcangobackandforthasmanytimesasIwantbutwhenIclickthebackbuttonIneedtoreturnonpage1.
TogotothenextpageIusetheeventclick
ofthebuttonlikethis:
(click)="quickAccess('Pagina1.1')"
And to go back add navPop
to my navbar
button.
ERROR
When I click on return, you are returning parts by the pastes of the pages 1.2, 1.2 e 1.3
suppose if I navigated 10 times between these pastes it will return the 10 times.
TRY
I'm trying to follow the following thinking when I navigate for example from page 1.1
to 1.2
I should remove 1.1
and so on, but I'm having this problem, how do I do this, index
by nome da view
but none of them works.
YOU WILL REMEMBER
It is important to know that there are other pages prior to PAGINA 1
the flow with problem is only in this case, in the rest everything goes as expected.