[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2025-09-12 13:46:33 +00:00
committed by GitHub
parent 30b28afbac
commit bdf0a932fe
2 changed files with 4 additions and 3 deletions
@@ -75,7 +75,8 @@ export const AdvancedEnvironmentSelector = ({
const { data: currentUser } = api.user.get.useQuery(); const { data: currentUser } = api.user.get.useQuery();
// Check if user can create environments // Check if user can create environments
const canCreateEnvironments = currentUser?.role === "owner" || const canCreateEnvironments =
currentUser?.role === "owner" ||
currentUser?.role === "admin" || currentUser?.role === "admin" ||
currentUser?.canCreateEnvironments === true; currentUser?.canCreateEnvironments === true;