mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-06 06:25:28 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -62,8 +62,9 @@ export const AdvancedEnvironmentSelector = ({
|
||||
const { data: currentUser } = api.user.get.useQuery();
|
||||
|
||||
// Check if user can delete environments
|
||||
const canDeleteEnvironments = currentUser?.role === "owner" ||
|
||||
currentUser?.role === "admin" ||
|
||||
const canDeleteEnvironments =
|
||||
currentUser?.role === "owner" ||
|
||||
currentUser?.role === "admin" ||
|
||||
currentUser?.canDeleteEnvironments === true;
|
||||
|
||||
// Form states
|
||||
|
||||
Reference in New Issue
Block a user