I want to disable Sidebar page on LoginPage.ux becasue at that state I don’t need it. However, I need the Sidebar page on DashboardPage.ux. I did try with whiletrue but keeps throwing me an error.
This is my MainView.ux page
The approach to solving this usually is simply putting the pages that don’t need a sidebar in a parent that does not have one. The structure then is something like this: