mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:09:03 +00:00
chore(plugin-workflow): fix breadcrumb warning (#2256)
This commit is contained in:
parent
f87cf982f1
commit
6e637dbb42
@ -144,17 +144,13 @@ export function ExecutionCanvas() {
|
|||||||
>
|
>
|
||||||
<div className="workflow-toolbar">
|
<div className="workflow-toolbar">
|
||||||
<header>
|
<header>
|
||||||
<Breadcrumb>
|
<Breadcrumb
|
||||||
<Breadcrumb.Item>
|
items={[
|
||||||
<Link to={`/admin/settings/workflow/workflows`}>{lang('Workflow')}</Link>
|
{ title: <Link to={`/admin/settings/workflow/workflows`}>{lang('Workflow')}</Link> },
|
||||||
</Breadcrumb.Item>
|
{ title: <Link to={`/admin/settings/workflow/workflows/${workflow.id}`}>{workflow.title}</Link> },
|
||||||
<Breadcrumb.Item>
|
{ title: <strong>{`#${execution.id}`}</strong> },
|
||||||
<Link to={`/admin/settings/workflow/workflows/${workflow.id}`}>{workflow.title}</Link>
|
]}
|
||||||
</Breadcrumb.Item>
|
/>
|
||||||
<Breadcrumb.Item>
|
|
||||||
<strong>{`#${execution.id}`}</strong>
|
|
||||||
</Breadcrumb.Item>
|
|
||||||
</Breadcrumb>
|
|
||||||
</header>
|
</header>
|
||||||
<aside>
|
<aside>
|
||||||
<Tag color={statusOption.color}>{compile(statusOption.label)}</Tag>
|
<Tag color={statusOption.color}>{compile(statusOption.label)}</Tag>
|
||||||
|
@ -141,14 +141,12 @@ export function WorkflowCanvas() {
|
|||||||
>
|
>
|
||||||
<div className="workflow-toolbar">
|
<div className="workflow-toolbar">
|
||||||
<header>
|
<header>
|
||||||
<Breadcrumb>
|
<Breadcrumb
|
||||||
<Breadcrumb.Item>
|
items={[
|
||||||
<Link to={`/admin/settings/workflow/workflows`}>{lang('Workflow')}</Link>
|
{ title: <Link to={`/admin/settings/workflow/workflows`}>{lang('Workflow')}</Link> },
|
||||||
</Breadcrumb.Item>
|
{ title: <strong>{workflow.title}</strong> },
|
||||||
<Breadcrumb.Item>
|
]}
|
||||||
<strong>{workflow.title}</strong>
|
/>
|
||||||
</Breadcrumb.Item>
|
|
||||||
</Breadcrumb>
|
|
||||||
</header>
|
</header>
|
||||||
<aside>
|
<aside>
|
||||||
<div className="workflow-versions">
|
<div className="workflow-versions">
|
||||||
|
Loading…
Reference in New Issue
Block a user