fix: ensure we check if the user can actually see ai bridge (#20942)

There was a mild regression here where-in if the user only had `AI
Bridge` they wouldn't be able to see this content in the dropdown menu.
This was necessary for reasons earlier with it being an experiment
however its now fine to check for this and won't upset anything.
This commit is contained in:
Jake Howell
2025-11-27 17:45:51 +11:00
committed by GitHub
parent d22d34e45b
commit caf711d70a
@@ -34,7 +34,8 @@ export const DeploymentDropdown: FC<DeploymentDropdownProps> = ({
!canViewConnectionLog &&
!canViewOrganizations &&
!canViewDeployment &&
!canViewHealth
!canViewHealth &&
!canViewAIBridge
) {
return null;
}