From 01794c774229b46a5fb0e2278104014a11d8ac92 Mon Sep 17 00:00:00 2001
From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
Date: Sun, 23 Jun 2024 19:21:40 -0600
Subject: [PATCH] fix: correct url swagger api
---
.../dashboard/application/general/show.tsx | 4 +-
.../settings/profile/generate-token.tsx | 6 +-
server/api/root.ts | 33 -----------
server/api/routers/settings.ts | 55 ++++++++++++++++---
4 files changed, 54 insertions(+), 44 deletions(-)
diff --git a/components/dashboard/application/general/show.tsx b/components/dashboard/application/general/show.tsx
index 4c95ec13e..b880edede 100644
--- a/components/dashboard/application/general/show.tsx
+++ b/components/dashboard/application/general/show.tsx
@@ -10,7 +10,7 @@ import { RedbuildApplication } from "../rebuild-application";
import { StartApplication } from "../start-application";
import { StopApplication } from "../stop-application";
import { DockerTerminalModal } from "../../settings/web-server/docker-terminal-modal";
-import { Terminal } from "lucide-react";
+import { CheckCircle2, Terminal } from "lucide-react";
import { DeployApplication } from "./deploy-application";
import { ResetApplication } from "./reset-application";
interface Props {
@@ -55,8 +55,10 @@ export const ShowGeneralApplication = ({ applicationId }: Props) => {
toast.error("Error to update Auto Deploy");
});
}}
+ className="flex flex-row gap-2 items-center"
>
Autodeploy
+ {data?.autoDeploy &&