Skip to content

Commit

Permalink
fix hide agency admin tab if user has no agency admin rights
Browse files Browse the repository at this point in the history
  • Loading branch information
bbohec committed Jan 13, 2025
1 parent 5a5413c commit ddcae07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const rawAgencyDashboardTabs = ({
},
]
: []),
...(agenciesUserIsAdminOn
...(agenciesUserIsAdminOn.length
? [
{
tabId: "agencyDashboardAgencies" satisfies AgencyDashboardRouteName,
Expand Down

0 comments on commit ddcae07

Please sign in to comment.