hide_pages is buggy: starts hidden, but reappears as soon as any page is accessed.
victorccaldas opened this issue ยท comments
victorccaldas commented
Code:
show_pages(
[
Page("paginas/dashboard.py", "Dashboard", "๐"),
Page("paginas/ferramentas.py", "Tools", "โ๏ธ"),
Page("paginas/docs.py", "Docs", "๐งพ"),
Page("paginas/finance.py", "Finance", "๐ฒ")
]
)
hide_pages(["Tools"])
Zachary Blackwood commented
You have to use hide_pages on every page that you want pages hidden from. It would be possible to make it permanent, but right now this is the behavior by design. I added an issue for the future if someone wants to add that new functionality #35