profile-dropdown.tsx
4.96 KB
-
fix(web): hide wallet entry in profile dropdown when wallet module disabled (#5708) · 0b2cf43e
The profile dropdown rendered the wallet item unconditionally, so it still showed after an admin disabled the personal/topup (wallet) sidebar module. Reuse the sidebar module visibility check so the dropdown honours the same toggle as the sidebar. Fixes #5696
feitianbubu committed