mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-25 06:22:19 +00: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