Error in navigation when doing router.push(...)

Hello. I have the following error:

image

It happens when clicking on a button from another route, here the code.
image

This error only occurs if there is a redirection of the Home route like this:
image

The funny thing is that if I enter directly from the browser to the path ’ / ’ the redirect does work. I have no idea why router.push doesn’t work.

Known issue with the fix here: fix(vue-router): Prev route last pathname incorrect by tigohenryschultz · Pull Request #24433 · ionic-team/ionic-framework · GitHub

Just hasn’t been merged in.