Skip to content

Commit

Permalink
feat: 修正
Browse files Browse the repository at this point in the history
  • Loading branch information
schktjm committed Dec 19, 2024
1 parent 27a4c22 commit dfeba97
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,11 @@ export const StepFormDialogContentInner: FC<StepFormDialogContentInnerProps> = (
<Stack gap={0.5} className={actionArea()}>
<Cluster justify="space-between">
{activeStep > 1 && (
<Button onClick={handleBackAction} className="smarthr-ui-Dialog-backButton">
<Button
onClick={handleBackAction}
disabled={isRequestProcessing}
className="smarthr-ui-Dialog-backButton"
>
{decorators?.backButtonLabel?.(BACK_BUTTON_LABEL) || BACK_BUTTON_LABEL}
</Button>
)}
Expand Down
2 changes: 1 addition & 1 deletion packages/smarthr-ui/src/components/Dialog/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export { MessageDialog, MessageDialogContent } from './MessageDialog'
export { ActionDialog, ActionDialogContent } from './ActionDialog'
export { ActionDialogWithTrigger } from './ActionDialogWithTrigger'
export { FormDialog, FormDialogContent } from './FormDialog'
export { StepFormDialog } from './StepFormDialog'
export { StepFormDialog, StepFormDialogItem } from './StepFormDialog'
export { DialogWrapper } from './DialogWrapper'
export { DialogTrigger } from './DialogTrigger'
export { DialogContent } from './DialogContent'
Expand Down
1 change: 1 addition & 0 deletions packages/smarthr-ui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export {
RemoteTriggerFormDialog,
RemoteTriggerMessageDialog,
StepFormDialog,
StepFormDialogItem,
} from './components/Dialog'
export { Pagination } from './components/Pagination'
export { RadioButton } from './components/RadioButton'
Expand Down

0 comments on commit dfeba97

Please sign in to comment.