This.nav flow pass two time by the same page



I have an error with the flow between the page of my Application:
Here is the flow I should have:
View_data -> details -> details picture

But instead I have this one:
View_data -> details with the view_data layout -> details -> details_pictures with the view data layout -> details picture

What I mean by “details with the view_data layout” is that when I press the button to pass from view_data to details I have the ion-header of the details page but the ion-content of the view_data layout.