From b3cec533f9b167908cb6c5fe8918968321350acc Mon Sep 17 00:00:00 2001 From: Jupi Date: Wed, 15 Oct 2025 04:50:53 +0300 Subject: [PATCH] fix: resources tooltips triggers form submission --- .../dashboard/application/advanced/show-resources.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/dokploy/components/dashboard/application/advanced/show-resources.tsx b/apps/dokploy/components/dashboard/application/advanced/show-resources.tsx index 25040067b..65616468f 100644 --- a/apps/dokploy/components/dashboard/application/advanced/show-resources.tsx +++ b/apps/dokploy/components/dashboard/application/advanced/show-resources.tsx @@ -150,7 +150,7 @@ export const ShowResources = ({ id, type }: Props) => { render={({ field }) => { return ( -
+
e.preventDefault()}> Memory Limit @@ -182,7 +182,7 @@ export const ShowResources = ({ id, type }: Props) => { name="memoryReservation" render={({ field }) => ( -
+
e.preventDefault()}> Memory Reservation @@ -215,7 +215,7 @@ export const ShowResources = ({ id, type }: Props) => { render={({ field }) => { return ( -
+
e.preventDefault()}> CPU Limit @@ -249,7 +249,7 @@ export const ShowResources = ({ id, type }: Props) => { render={({ field }) => { return ( -
+
e.preventDefault()}> CPU Reservation