mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-07 12:32:16 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -75,8 +75,9 @@ export const AdvancedEnvironmentSelector = ({
|
||||
const { data: currentUser } = api.user.get.useQuery();
|
||||
|
||||
// Check if user can create environments
|
||||
const canCreateEnvironments = currentUser?.role === "owner" ||
|
||||
currentUser?.role === "admin" ||
|
||||
const canCreateEnvironments =
|
||||
currentUser?.role === "owner" ||
|
||||
currentUser?.role === "admin" ||
|
||||
currentUser?.canCreateEnvironments === true;
|
||||
|
||||
const haveServices =
|
||||
|
||||
Reference in New Issue
Block a user