diff --git a/webui/src/views/AddPlanModal.tsx b/webui/src/views/AddPlanModal.tsx index 511840b6..9f065746 100644 --- a/webui/src/views/AddPlanModal.tsx +++ b/webui/src/views/AddPlanModal.tsx @@ -272,7 +272,8 @@ export const AddPlanModal = ({ <> {fields.map((field, index) => ( @@ -299,7 +300,10 @@ export const AddPlanModal = ({ /> ))} - + , ]} > -
+ {/* Repo.id */} hasFeedback @@ -220,7 +228,7 @@ export const AddRepoModal = ({ hasFeedback name="uri" - label="Repository URI (e.g. ./local-path or s3://bucket-name/path)" + label="Repository URI" initialValue={template ? template.uri : ""} validateTrigger={["onChange", "onBlur"]} rules={[ @@ -235,12 +243,28 @@ export const AddRepoModal = ({ {/* Repo.password */} - - hasFeedback - name="password" - label={ - <> - Password{" "} + hasFeedback name="password" label={<>Password }> + + + + + + + - - } - initialValue={template && template.password} - validateTrigger={["onChange", "onBlur"]} - rules={[ - { - required: true, - message: "Please input repo name", - }, - ]} - > - + + {/* Repo.env */} @@ -283,7 +297,8 @@ export const AddRepoModal = ({ <> {fields.map((field, index) => ( @@ -316,7 +331,8 @@ export const AddRepoModal = ({ ))}