hiding details page in navbar with AppLayout
Trying to implement a "details" page for one of my entities (Runs).
Everything works fine, the problem is, that i would like to not have this page shown in the navbar, while at the same time making use of the default AppLayout. I tried to specify the routes by hand:
But couldn't find a parameter which allows me to hide
This approach led to a RuntimeError (after working once), claiming that too many hooks are being instantiated. Any ideas?
__run_details
in the navbar (see attached image). I tried adding the __run_details
path as a children of runs
which doesn't work, since I cant have a wildcard path (along the lines of: solara.Route(path=":id", component=run_details.Page)
) and would have to add every runs detail path during runtime in a loop, which to me doesn't seem sustainable.
Another attempt was to have some logic inside runs Page function to return the details page, if ?id=1234234
was part of the query.
This approach led to a RuntimeError (after working once), claiming that too many hooks are being instantiated. Any ideas?
0 Replies