Command removes non-functioning ionic

0

I'm having trouble with navCtrl.push . The flow is as follows:

Onpages1.1,1.2e1.3IcangobackandforthasmanytimesasIwantbutwhenIclickthebackbuttonIneedtoreturnonpage1.

TogotothenextpageIusetheeventclickofthebuttonlikethis:

(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.

    
asked by anonymous 05.07.2017 / 20:06

1 answer

0

I found the problem!

According to this inssue no ionic team:

https://github.com/ionic-team/ionic/issues/12238

There is an error in the structure, the solution was to install the fix via npm as reported in inssue:

npm install ionic-angular@nightly --save

So my .remove() works perfectly now.

    
06.07.2017 / 15:09