Skip to content

Commit

Permalink
refactor: Enable domain editing and make certificate fields optional …
Browse files Browse the repository at this point in the history
…in StatusPageDelete component
  • Loading branch information
simlarsen committed Oct 10, 2024
1 parent 7c85fb4 commit 5d9252d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dashboard/src/Pages/StatusPages/View/Domains.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const StatusPageDelete: FunctionComponent<PageComponentProps> = (
id="domains-table"
isDeleteable={true}
isCreateable={true}
isEditable={true}
cardProps={{
title: "Custom Domains",
description: `Important: Please add ${StatusPageCNameRecord} as your CNAME for these domains for this to work.`,
Expand Down Expand Up @@ -204,7 +205,7 @@ const StatusPageDelete: FunctionComponent<PageComponentProps> = (
},
title: "Certificate",
fieldType: FormFieldSchemaType.LongText,
required: true,
required: false,
stepId: "more",
placeholder:
"-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
Expand All @@ -218,7 +219,7 @@ const StatusPageDelete: FunctionComponent<PageComponentProps> = (
},
title: "Certificate Private Key",
fieldType: FormFieldSchemaType.LongText,
required: true,
required: false,
placeholder:
"-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----",
stepId: "more",
Expand Down

0 comments on commit 5d9252d

Please sign in to comment.