mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-23 12:18:46 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user