Skip to content

Commit 21eb185

Browse files
authored
Merge pull request #3137 from Dokploy/feat/add-warning-to-redeploy-on-domain-changes
feat: add informational alert for domain changes in AddDomain component
2 parents bb3f738 + 28f7fb9 commit 21eb185

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

apps/dokploy/components/dashboard/application/domains/handle-domain.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,13 @@ export const AddDomain = ({ id, type, domainId = "", children }: Props) => {
305305
</DialogHeader>
306306
{isError && <AlertBlock type="error">{error?.message}</AlertBlock>}
307307

308+
{type === "compose" && (
309+
<AlertBlock type="info" className="mb-4">
310+
Whenever you make changes to domains, remember to redeploy your
311+
compose to apply the changes.
312+
</AlertBlock>
313+
)}
314+
308315
<Form {...form}>
309316
<form
310317
id="hook-form"

0 commit comments

Comments
 (0)