mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -226,8 +226,7 @@ export const AddImport = ({ environmentId, projectName }: Props) => {
|
|||||||
<Tooltip>
|
<Tooltip>
|
||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
<FormLabel className="break-all w-fit flex flex-row gap-1 items-center">
|
<FormLabel className="break-all w-fit flex flex-row gap-1 items-center">
|
||||||
Select a Server{" "}
|
Select a Server {!isCloud ? "(Optional)" : ""}
|
||||||
{!isCloud ? "(Optional)" : ""}
|
|
||||||
<HelpCircle className="size-4 text-muted-foreground" />
|
<HelpCircle className="size-4 text-muted-foreground" />
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
@@ -238,7 +237,8 @@ export const AddImport = ({ environmentId, projectName }: Props) => {
|
|||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
If no server is selected, the compose will be
|
If no server is selected, the compose will be
|
||||||
deployed on the server where the user is logged in.
|
deployed on the server where the user is logged
|
||||||
|
in.
|
||||||
</span>
|
</span>
|
||||||
</TooltipContent>
|
</TooltipContent>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
@@ -341,7 +341,10 @@ export const AddImport = ({ environmentId, projectName }: Props) => {
|
|||||||
</Dialog>
|
</Dialog>
|
||||||
|
|
||||||
{/* Preview modal */}
|
{/* Preview modal */}
|
||||||
<Dialog open={previewOpen} onOpenChange={(open) => !open && handleCancelPreview()}>
|
<Dialog
|
||||||
|
open={previewOpen}
|
||||||
|
onOpenChange={(open) => !open && handleCancelPreview()}
|
||||||
|
>
|
||||||
<DialogContent className="max-w-[60vw]">
|
<DialogContent className="max-w-[60vw]">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle className="text-2xl font-bold">
|
<DialogTitle className="text-2xl font-bold">
|
||||||
@@ -385,7 +388,9 @@ export const AddImport = ({ environmentId, projectName }: Props) => {
|
|||||||
key={index}
|
key={index}
|
||||||
className="rounded-lg border bg-card p-3 text-card-foreground shadow-sm"
|
className="rounded-lg border bg-card p-3 text-card-foreground shadow-sm"
|
||||||
>
|
>
|
||||||
<div className="font-medium">{domain.serviceName}</div>
|
<div className="font-medium">
|
||||||
|
{domain.serviceName}
|
||||||
|
</div>
|
||||||
<div className="text-sm text-muted-foreground space-y-1">
|
<div className="text-sm text-muted-foreground space-y-1">
|
||||||
<div>Port: {domain.port}</div>
|
<div>Port: {domain.port}</div>
|
||||||
{domain.host && <div>Host: {domain.host}</div>}
|
{domain.host && <div>Host: {domain.host}</div>}
|
||||||
|
|||||||
Reference in New Issue
Block a user