File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
apps/webapp/app/components/runs/v3 Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11import { ArrowPathIcon } from "@heroicons/react/20/solid" ;
2+ import { DialogClose } from "@radix-ui/react-dialog" ;
23import { Form , useNavigation } from "@remix-run/react" ;
34import { Button } from "~/components/primitives/Buttons" ;
45import {
@@ -33,6 +34,9 @@ export function RetryDeploymentIndexingDialog({
3334 any errors and re-deploy.
3435 </ DialogDescription >
3536 < DialogFooter >
37+ < DialogClose asChild >
38+ < Button variant = "tertiary/medium" > Cancel</ Button >
39+ </ DialogClose >
3640 < Form
3741 action = { `/resources/${ projectId } /deployments/${ deploymentShortCode } /retry-indexing` }
3842 method = "post"
@@ -41,7 +45,7 @@ export function RetryDeploymentIndexingDialog({
4145 type = "submit"
4246 name = "redirectUrl"
4347 value = { redirectPath }
44- variant = "primary/small "
48+ variant = "primary/medium "
4549 LeadingIcon = { isLoading ? "spinner-white" : ArrowPathIcon }
4650 disabled = { isLoading }
4751 shortcut = { { modifiers : [ "meta" ] , key : "enter" } }
Original file line number Diff line number Diff line change 11import { ArrowPathIcon } from "@heroicons/react/20/solid" ;
2+ import { DialogClose } from "@radix-ui/react-dialog" ;
23import { Form , useNavigation } from "@remix-run/react" ;
34import { Button } from "~/components/primitives/Buttons" ;
45import {
@@ -33,6 +34,9 @@ export function RollbackDeploymentDialog({
3334 with these tasks included.
3435 </ DialogDescription >
3536 < DialogFooter >
37+ < DialogClose asChild >
38+ < Button variant = "tertiary/medium" > Cancel</ Button >
39+ </ DialogClose >
3640 < Form
3741 action = { `/resources/${ projectId } /deployments/${ deploymentShortCode } /rollback` }
3842 method = "post"
@@ -41,7 +45,7 @@ export function RollbackDeploymentDialog({
4145 type = "submit"
4246 name = "redirectUrl"
4347 value = { redirectPath }
44- variant = "primary/small "
48+ variant = "primary/medium "
4549 LeadingIcon = { isLoading ? "spinner-white" : ArrowPathIcon }
4650 disabled = { isLoading }
4751 shortcut = { { modifiers : [ "meta" ] , key : "enter" } }
You can’t perform that action at this time.
0 commit comments