mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: adjust dialog title based on add/update condition
This commit is contained in:
@@ -118,7 +118,7 @@ export const HandleProject = ({ projectId }: Props) => {
|
|||||||
</DialogTrigger>
|
</DialogTrigger>
|
||||||
<DialogContent className="sm:m:max-w-lg ">
|
<DialogContent className="sm:m:max-w-lg ">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>Add a project</DialogTitle>
|
<DialogTitle>{projectId ? "Update" : "Add a"} project</DialogTitle>
|
||||||
<DialogDescription>The home of something big!</DialogDescription>
|
<DialogDescription>The home of something big!</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
{isError && <AlertBlock type="error">{error?.message}</AlertBlock>}
|
{isError && <AlertBlock type="error">{error?.message}</AlertBlock>}
|
||||||
|
|||||||
Reference in New Issue
Block a user