mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
@@ -90,7 +90,7 @@ const typeToColor = (type: ConfirmDialogType): LoadingButtonProps["color"] => {
|
||||
}
|
||||
|
||||
/**
|
||||
* Quickly handels most modals actions, some combination of a cancel and confirm button
|
||||
* Quickly handles most modals actions, some combination of a cancel and confirm button
|
||||
*/
|
||||
export const DialogActionButtons: React.FC<DialogActionButtonsProps> = ({
|
||||
cancelText = "Cancel",
|
||||
|
||||
@@ -28,7 +28,7 @@ NullResource.args = {
|
||||
type: "null_resource",
|
||||
}
|
||||
|
||||
export const UnkownResource = Template.bind({})
|
||||
UnkownResource.args = {
|
||||
export const UnknownResource = Template.bind({})
|
||||
UnknownResource.args = {
|
||||
type: "noexistentvalue",
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ const useStyles = makeStyles((theme) => ({
|
||||
cell: {
|
||||
// This must override all padding for all rules on a TableCell.
|
||||
// Otherwise, the link will not cover the entire region.
|
||||
// It's unfortuante to use `!important`, but this seems to be
|
||||
// It's unfortunate to use `!important`, but this seems to be
|
||||
// a reasonable use-case.
|
||||
padding: "0 !important",
|
||||
},
|
||||
|
||||
@@ -40,7 +40,7 @@ NoTTL.args = {
|
||||
...Mocks.MockWorkspace,
|
||||
latest_build: {
|
||||
...Mocks.MockWorkspaceBuild,
|
||||
// a mannual shutdown has a deadline of '"0001-01-01T00:00:00Z"'
|
||||
// a manual shutdown has a deadline of '"0001-01-01T00:00:00Z"'
|
||||
// SEE: #1834
|
||||
deadline: "0001-01-01T00:00:00Z",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user