From 89d573a2f5d399074c84be184e9443eec14d166b Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 21 Jun 2025 23:18:06 -0600 Subject: [PATCH] refactor: remove ShowEnv component from rollbacks - Deleted the ShowEnv component responsible for displaying environment variables in the rollback context, streamlining the codebase. --- .../application/rollbacks/show-env.tsx | 46 ------------------- 1 file changed, 46 deletions(-) delete mode 100644 apps/dokploy/components/dashboard/application/rollbacks/show-env.tsx diff --git a/apps/dokploy/components/dashboard/application/rollbacks/show-env.tsx b/apps/dokploy/components/dashboard/application/rollbacks/show-env.tsx deleted file mode 100644 index 0365449f..00000000 --- a/apps/dokploy/components/dashboard/application/rollbacks/show-env.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import { - Dialog, - DialogContent, - DialogDescription, - DialogHeader, - DialogTitle, - DialogTrigger, -} from "@/components/ui/dialog"; -import { Button } from "@/components/ui/button"; -import { Eye } from "lucide-react"; -import { CodeEditor } from "@/components/shared/code-editor"; - -interface Props { - env: string | null; -} - -export const ShowEnv = ({ env }: Props) => { - if (!env) return null; - - return ( - - - - - - - Environment Variables - - Environment variables for this rollback version - - - -
- -
-
-
- ); -};