mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-09 13:35:19 +00:00
improved form
This commit is contained in:
+3
-5
@@ -760,7 +760,7 @@ export const AddSwarmSettings = ({ applicationId }: Props) => {
|
|||||||
control={form.control}
|
control={form.control}
|
||||||
name="stopGracePeriodSwarm"
|
name="stopGracePeriodSwarm"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem className="relative max-lg:px-4 lg:pr-6 ">
|
<FormItem className="relative max-lg:px-4 lg:pl-6 ">
|
||||||
<FormLabel>Stop Grace Period</FormLabel>
|
<FormLabel>Stop Grace Period</FormLabel>
|
||||||
<TooltipProvider delayDuration={0}>
|
<TooltipProvider delayDuration={0}>
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
@@ -788,10 +788,9 @@ export const AddSwarmSettings = ({ applicationId }: Props) => {
|
|||||||
</Tooltip>
|
</Tooltip>
|
||||||
</TooltipProvider>
|
</TooltipProvider>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<CodeEditor
|
<Input
|
||||||
language="properties"
|
|
||||||
placeholder="30s"
|
placeholder="30s"
|
||||||
className="h-[8rem] font-mono"
|
className="font-mono"
|
||||||
{...field}
|
{...field}
|
||||||
value={field?.value || ""}
|
value={field?.value || ""}
|
||||||
/>
|
/>
|
||||||
@@ -802,7 +801,6 @@ export const AddSwarmSettings = ({ applicationId }: Props) => {
|
|||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<DialogFooter className="flex w-full flex-row justify-end md:col-span-2 m-0 sticky bottom-0 right-0 bg-muted border">
|
<DialogFooter className="flex w-full flex-row justify-end md:col-span-2 m-0 sticky bottom-0 right-0 bg-muted border">
|
||||||
<Button
|
<Button
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
|
|||||||
@@ -111,4 +111,4 @@
|
|||||||
"node": "^20.16.0",
|
"node": "^20.16.0",
|
||||||
"pnpm": ">=9.12.0"
|
"pnpm": ">=9.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user