mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
fix(site): use standard dismiss label for cancel confirmation dialogs (#23599)
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ export const WorkspaceBuildCancelDialog: FC<
|
||||
title="Cancel workspace build"
|
||||
description={`Are you sure you want to cancel the build for workspace "${workspace.name}"? This will ${action}.`}
|
||||
confirmText="Confirm"
|
||||
cancelText="Discard"
|
||||
cancelText="Cancel"
|
||||
onClose={onClose}
|
||||
onConfirm={onConfirm}
|
||||
type="delete"
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ export const CancelJobConfirmationDialog: FC<
|
||||
title="Cancel provisioner job"
|
||||
description={`Are you sure you want to cancel the provisioner job "${job.id}"? This operation will result in the associated workspaces not getting created.`}
|
||||
confirmText="Confirm"
|
||||
cancelText="Discard"
|
||||
cancelText="Cancel"
|
||||
confirmLoading={cancelMutation.isPending}
|
||||
onConfirm={async () => {
|
||||
const mutation = cancelMutation.mutateAsync(job, {
|
||||
|
||||
Reference in New Issue
Block a user