mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 14:26:36 +00:00
fix(plugin-workflow): fix schema name conflict (#1087)
This commit is contained in:
parent
c470209ecd
commit
46161e8fd9
@ -3,7 +3,6 @@ import { Link, useHistory } from 'react-router-dom';
|
||||
import { Dropdown, Menu, Button, Tag, Switch, message, Breadcrumb } from 'antd';
|
||||
import { DownOutlined, RightOutlined, EllipsisOutlined } from '@ant-design/icons';
|
||||
import { cx } from '@emotion/css';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import classnames from 'classnames';
|
||||
|
||||
import {
|
||||
@ -18,11 +17,10 @@ import { FlowContext } from './FlowContext';
|
||||
import { branchBlockClass, nodeCardClass, nodeMetaClass, workflowVersionDropdownClass } from './style';
|
||||
import { TriggerConfig } from './triggers';
|
||||
import { Branch } from './Branch';
|
||||
import { executionCollection, executionSchema } from './schemas/executions';
|
||||
import { executionSchema } from './schemas/executions';
|
||||
import { ExecutionLink } from './ExecutionLink';
|
||||
import { ExecutionResourceProvider } from './ExecutionResourceProvider';
|
||||
|
||||
import { lang, NAMESPACE } from './locale';
|
||||
import { lang } from './locale';
|
||||
|
||||
|
||||
|
||||
@ -174,12 +172,7 @@ export function WorkflowCanvas() {
|
||||
</Dropdown>
|
||||
<ActionContext.Provider value={{ visible, setVisible }}>
|
||||
<SchemaComponent
|
||||
schema={{
|
||||
type: 'void',
|
||||
properties: {
|
||||
drawer: executionSchema
|
||||
}
|
||||
}}
|
||||
schema={executionSchema}
|
||||
components={{
|
||||
ExecutionResourceProvider,
|
||||
ExecutionLink
|
||||
|
@ -51,6 +51,7 @@ export const executionCollection = {
|
||||
|
||||
export const executionSchema = {
|
||||
type: 'void',
|
||||
name: 'executionHistoryDrawer',
|
||||
title: `{{t("Execution history", { ns: "${NAMESPACE}" })}}`,
|
||||
'x-component': 'Action.Drawer',
|
||||
properties: {
|
||||
|
Loading…
Reference in New Issue
Block a user