F
Filament14mo ago
Magooh

Hiding dashboards conditionally (from navigation)

Is there a way to conditionally hide dashboards. including from navigation/sidebar? Cards can be shown/hidden conditionally, but I cant seem to find a solution to hide the whole dashboard
1 Reply
toeknee
toeknee14mo ago
You mean resources? You can use: function canView() and override and add conditions as you see fit. This is part of policies natively too.
Want results from more Discord servers?
Add your server