Skip to content

Commit cd9d3ef

Browse files
authored
fix: ensure we check if the user can actually see ai bridge (#20964)
1 parent c0a2522 commit cd9d3ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/src/modules/dashboard/Navbar/DeploymentDropdown.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ export const DeploymentDropdown: FC<DeploymentDropdownProps> = ({
3434
!canViewConnectionLog &&
3535
!canViewOrganizations &&
3636
!canViewDeployment &&
37-
!canViewHealth
37+
!canViewHealth &&
38+
!canViewAIBridge
3839
) {
3940
return null;
4041
}

0 commit comments

Comments
 (0)