feat(ui): new WorkflowList UI using antd

This commit is contained in:
Fu Diwei
2024-12-04 21:55:52 +08:00
parent 668f6ee36f
commit c522196029
28 changed files with 838 additions and 342 deletions

View File

@@ -101,7 +101,7 @@ const Dashboard = () => {
<div className="flex items-baseline">
<div className="text-3xl text-stone-700 dark:text-stone-200">
{statistic?.workflowTotal ? (
<Link to="/workflow" className="hover:underline">
<Link to="/workflows" className="hover:underline">
{statistic?.workflowTotal}
</Link>
) : (
@@ -122,7 +122,7 @@ const Dashboard = () => {
<div className="flex items-baseline">
<div className="text-3xl text-stone-700 dark:text-stone-200">
{statistic?.workflowEnabled ? (
<Link to="/workflow?state=enabled" className="hover:underline">
<Link to="/workflows?state=enabled" className="hover:underline">
{statistic?.workflowEnabled}
</Link>
) : (