mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-11-30 11:18:36 +08: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">
|
||||
<header>
|
||||
<Breadcrumb>
|
||||
<Breadcrumb.Item>
|
||||
<Link to={`/admin/settings/workflow/workflows`}>{lang('Workflow')}</Link>
|
||||
</Breadcrumb.Item>
|
||||
<Breadcrumb.Item>
|
||||
<Link to={`/admin/settings/workflow/workflows/${workflow.id}`}>{workflow.title}</Link>
|
||||
</Breadcrumb.Item>
|
||||
<Breadcrumb.Item>
|
||||
<strong>{`#${execution.id}`}</strong>
|
||||
</Breadcrumb.Item>
|
||||
</Breadcrumb>
|
||||
<Breadcrumb
|
||||
items={[
|
||||
{ title: <Link to={`/admin/settings/workflow/workflows`}>{lang('Workflow')}</Link> },
|
||||
{ title: <Link to={`/admin/settings/workflow/workflows/${workflow.id}`}>{workflow.title}</Link> },
|
||||
{ title: <strong>{`#${execution.id}`}</strong> },
|
||||
]}
|
||||
/>
|
||||
</header>
|
||||
<aside>
|
||||
<Tag color={statusOption.color}>{compile(statusOption.label)}</Tag>
|
||||
|
@ -141,14 +141,12 @@ export function WorkflowCanvas() {
|
||||
>
|
||||
<div className="workflow-toolbar">
|
||||
<header>
|
||||
<Breadcrumb>
|
||||
<Breadcrumb.Item>
|
||||
<Link to={`/admin/settings/workflow/workflows`}>{lang('Workflow')}</Link>
|
||||
</Breadcrumb.Item>
|
||||
<Breadcrumb.Item>
|
||||
<strong>{workflow.title}</strong>
|
||||
</Breadcrumb.Item>
|
||||
</Breadcrumb>
|
||||
<Breadcrumb
|
||||
items={[
|
||||
{ title: <Link to={`/admin/settings/workflow/workflows`}>{lang('Workflow')}</Link> },
|
||||
{ title: <strong>{workflow.title}</strong> },
|
||||
]}
|
||||
/>
|
||||
</header>
|
||||
<aside>
|
||||
<div className="workflow-versions">
|
||||
|
Loading…
Reference in New Issue
Block a user