safe-amethystS
Refine2y ago
17 replies
safe-amethyst

Hiding a button in the List (MUI)

What is the cleanest way to hide (not disable) create button on <List> if user is not authorized? I am using roles and if user is not authorized, button is disabled. I don't want it disabled, I want it hidden.
Was this page helpful?