diff --git a/src/components/Tables/Base/ActionButton/index.jsx b/src/components/Tables/Base/ActionButton/index.jsx index 13e18338..a883b6f0 100644 --- a/src/components/Tables/Base/ActionButton/index.jsx +++ b/src/components/Tables/Base/ActionButton/index.jsx @@ -537,6 +537,7 @@ export class ActionButton extends Component { onFinishAction={onFinishAction} onCancelAction={onCancelAction} modalProps={modalProps} + action={action} /> ); diff --git a/src/containers/Action/ModalAction/index.jsx b/src/containers/Action/ModalAction/index.jsx index 695b1ca0..aa3ee72b 100644 --- a/src/containers/Action/ModalAction/index.jsx +++ b/src/containers/Action/ModalAction/index.jsx @@ -158,6 +158,11 @@ export default class ModalAction extends BaseForm { return (this.item || {}).id; } + get actionId() { + const { action } = this.props; + return action?.id; + } + get items() { const { items } = this.props; return items;