We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43488b4 commit 2bc11d2Copy full SHA for 2bc11d2
site/src/components/Dashboard/DeploymentBanner/DeploymentBanner.tsx
@@ -12,7 +12,9 @@ export const DeploymentBanner: FC = () => {
12
const deploymentStatsQuery = useQuery(deploymentStats());
13
const healthQuery = useQuery({
14
...health(),
15
- enabled: dashboard.experiments.includes("deployment_health_page"),
+ enabled:
16
+ dashboard.experiments.includes("deployment_health_page") &&
17
+ permissions.viewDeploymentValues,
18
});
19
20
if (!permissions.viewDeploymentValues || !deploymentStatsQuery.data) {
0 commit comments