mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Update validation error messaging in ShowDomainsCompose and refine button styling in ShowBackups for improved UI consistency.
This commit is contained in:
parent
3ad5982f39
commit
52a660add3
@ -331,7 +331,7 @@ export const ShowDomainsCompose = ({ composeId }: Props) => {
|
|||||||
) : validationState?.error ? (
|
) : validationState?.error ? (
|
||||||
<>
|
<>
|
||||||
<XCircle className="size-3 mr-1" />
|
<XCircle className="size-3 mr-1" />
|
||||||
DNS Invalid
|
{validationState.error}
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
|
@ -20,7 +20,6 @@ import { useState } from "react";
|
|||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
import type { ServiceType } from "../../application/advanced/show-resources";
|
import type { ServiceType } from "../../application/advanced/show-resources";
|
||||||
import { RestoreBackup } from "./restore-backup";
|
import { RestoreBackup } from "./restore-backup";
|
||||||
import { AlertBlock } from "@/components/shared/alert-block";
|
|
||||||
import { HandleBackup } from "./handle-backup";
|
import { HandleBackup } from "./handle-backup";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
import {
|
import {
|
||||||
@ -164,14 +163,6 @@ export const ShowBackups = ({
|
|||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="flex flex-col pt-2 gap-4">
|
<div className="flex flex-col pt-2 gap-4">
|
||||||
<div className="flex flex-col gap-4 w-full">
|
|
||||||
{backupType === "compose" && (
|
|
||||||
<AlertBlock type="info">
|
|
||||||
Deploy is required to apply changes after creating or
|
|
||||||
updating the service name in the backup.
|
|
||||||
</AlertBlock>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
<div className="flex flex-col gap-6">
|
<div className="flex flex-col gap-6">
|
||||||
{postgres?.backups.map((backup) => (
|
{postgres?.backups.map((backup) => (
|
||||||
<div key={backup.backupId}>
|
<div key={backup.backupId}>
|
||||||
@ -300,7 +291,7 @@ export const ShowBackups = ({
|
|||||||
setActiveManualBackup(undefined);
|
setActiveManualBackup(undefined);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Play className="size-4 text-muted-foreground" />
|
<Play className="size-4 " />
|
||||||
</Button>
|
</Button>
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
<TooltipContent>Run Manual Backup</TooltipContent>
|
<TooltipContent>Run Manual Backup</TooltipContent>
|
||||||
|
Loading…
Reference in New Issue
Block a user