diff --git a/apps/webservice/src/app/[workspaceSlug]/(app)/_components/CreateDeployment.tsx b/apps/webservice/src/app/[workspaceSlug]/(app)/_components/CreateDeployment.tsx index 3166c46c5..09716b54e 100644 --- a/apps/webservice/src/app/[workspaceSlug]/(app)/_components/CreateDeployment.tsx +++ b/apps/webservice/src/app/[workspaceSlug]/(app)/_components/CreateDeployment.tsx @@ -63,6 +63,7 @@ export const CreateDeploymentDialog: React.FC<{ name: "", slug: "", description: "", + retryCount: 0, }, mode: "onSubmit", }); @@ -183,6 +184,26 @@ export const CreateDeploymentDialog: React.FC<{ )} /> + ( + + Retry Count + + onChange(e.target.valueAsNumber)} + className="w-16" + /> + + + + )} + /> diff --git a/apps/webservice/src/app/[workspaceSlug]/(app)/_components/EditDeploymentDialog.tsx b/apps/webservice/src/app/[workspaceSlug]/(app)/_components/EditDeploymentDialog.tsx index 665b9ea5d..d5dcaa72d 100644 --- a/apps/webservice/src/app/[workspaceSlug]/(app)/_components/EditDeploymentDialog.tsx +++ b/apps/webservice/src/app/[workspaceSlug]/(app)/_components/EditDeploymentDialog.tsx @@ -123,6 +123,25 @@ export const EditDeploymentDialog: React.FC<{ /> ( + + Retry Count + + onChange(e.target.valueAsNumber)} + min={0} + step={1} + className="w-16" + /> + + + + )} + /> + ( diff --git a/apps/webservice/src/app/[workspaceSlug]/(app)/systems/[systemSlug]/deployments/[deploymentSlug]/EditDeploymentSection.tsx b/apps/webservice/src/app/[workspaceSlug]/(app)/systems/[systemSlug]/deployments/[deploymentSlug]/EditDeploymentSection.tsx index 2c3f63d39..c4a31a318 100644 --- a/apps/webservice/src/app/[workspaceSlug]/(app)/systems/[systemSlug]/deployments/[deploymentSlug]/EditDeploymentSection.tsx +++ b/apps/webservice/src/app/[workspaceSlug]/(app)/systems/[systemSlug]/deployments/[deploymentSlug]/EditDeploymentSection.tsx @@ -117,6 +117,27 @@ export const EditDeploymentSection: React.FC<{ )} /> + ( + + Retry Count + + onChange(e.target.valueAsNumber)} + min={0} + step={1} + className="w-16" + /> + + + + )} + /> +