From 198ace236b8b52c3a26a755c093222fb18362c43 Mon Sep 17 00:00:00 2001 From: 190km Date: Mon, 30 Dec 2024 19:23:31 +0100 Subject: [PATCH 1/2] feat: shows req when is active --- .../components/dashboard/requests/show-requests.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/dokploy/components/dashboard/requests/show-requests.tsx b/apps/dokploy/components/dashboard/requests/show-requests.tsx index 643d2bcb9..f5588705d 100644 --- a/apps/dokploy/components/dashboard/requests/show-requests.tsx +++ b/apps/dokploy/components/dashboard/requests/show-requests.tsx @@ -94,7 +94,15 @@ export const ShowRequests = () => { - + { + isActive ? ( + + ) : ( +
+ You need to activate requests +
+ ) + }
From 9f24f24de342cc0b60ca18e75a5da813a317b13f Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Wed, 1 Jan 2025 19:05:06 -0600 Subject: [PATCH 2/2] refactor: improve requests --- .../dashboard/requests/show-requests.tsx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/dokploy/components/dashboard/requests/show-requests.tsx b/apps/dokploy/components/dashboard/requests/show-requests.tsx index f5588705d..a12e250b8 100644 --- a/apps/dokploy/components/dashboard/requests/show-requests.tsx +++ b/apps/dokploy/components/dashboard/requests/show-requests.tsx @@ -94,18 +94,18 @@ export const ShowRequests = () => { - { - isActive ? ( - - ) : ( -
- You need to activate requests -
- ) - } + {isActive ? ( + + ) : ( +
+ + You need to activate requests + +
+ )}
- + {isActive && } ); };