Hi everyone,
Im using the Tab native element from weweb.
I’m trying to have different tabs depending on the user type.
for example:
normal user tabs: Profile, Conditions, Settings.
admin user: Profile, Admin, Conditions, Settings.
In this case, normal user doesn’t have “admin” tab, and admin user does. Until here all clear.
The problem comes when I try to hide this admin tab with the conditional rendering, yes it hides but it leaves an empty space. (yes, I hid the div not only the text)
Anyone know how to fix it? I tried creating a new component with the ai but no success. It’s a pity because the element is super useful but if this doesn’t work I can’t use it.
thanks!

