NavBar disappears when navigating to a page with parameters

Hello, I encountered a strange problem that prevents me from pushing my project forward.
When I navigate to a page with a NavBar using a button action everything seems fine. The problem starts when I try to pass some parameters to that page. Then, it navigates to that page, parameters seem to be present in there, but the navbar is absent. Tried to debug it with a console, but it shows nothing wrong. Also tried with different NavBar and the issue stays the same. The moment I stop passing parameters to that page while navigating, it works as it should, showing navBar. Do You have any ideas what I'm doing wrong?

6
11 replies