From caf711d70a05e58fc12b82cbb5befe79fb3c162d Mon Sep 17 00:00:00 2001 From: Jake Howell Date: Thu, 27 Nov 2025 17:45:51 +1100 Subject: [PATCH] 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. --- site/src/modules/dashboard/Navbar/DeploymentDropdown.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/src/modules/dashboard/Navbar/DeploymentDropdown.tsx b/site/src/modules/dashboard/Navbar/DeploymentDropdown.tsx index fc7825b3df..c84aae50fa 100644 --- a/site/src/modules/dashboard/Navbar/DeploymentDropdown.tsx +++ b/site/src/modules/dashboard/Navbar/DeploymentDropdown.tsx @@ -34,7 +34,8 @@ export const DeploymentDropdown: FC = ({ !canViewConnectionLog && !canViewOrganizations && !canViewDeployment && - !canViewHealth + !canViewHealth && + !canViewAIBridge ) { return null; }