mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:45:18 +00:00
fix: update form submit action missing linkageRules setting (#4515)
This commit is contained in:
parent
e03b5b873b
commit
6a9d39f25d
@ -22,6 +22,8 @@ import {
|
||||
WorkflowConfig,
|
||||
} from '../../../schema-component/antd/action/Action.Designer';
|
||||
import { SaveMode } from './createSubmitActionSettings';
|
||||
import { SchemaSettingsLinkageRules } from '../../../schema-settings';
|
||||
import { useCollection_deprecated } from '../../../collection-manager';
|
||||
|
||||
export const updateSubmitActionSettings = new SchemaSettings({
|
||||
name: 'actionSettings:updateSubmit',
|
||||
@ -34,6 +36,18 @@ export const updateSubmitActionSettings = new SchemaSettings({
|
||||
return buttonEditorProps;
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'linkageRules',
|
||||
Component: SchemaSettingsLinkageRules,
|
||||
useComponentProps() {
|
||||
const { name } = useCollection_deprecated();
|
||||
const { linkageRulesProps } = useSchemaToolbar();
|
||||
return {
|
||||
...linkageRulesProps,
|
||||
collectionName: name,
|
||||
};
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'secondConfirmation',
|
||||
Component: SecondConFirm,
|
||||
|
Loading…
Reference in New Issue
Block a user