From 46d7ff69d98c5aa1edb0e2774048685c2b76dc19 Mon Sep 17 00:00:00 2001 From: mytharcher Date: Mon, 28 Apr 2025 23:15:11 +0800 Subject: [PATCH] fix(plugin-workflow): fix type --- .../@nocobase/plugin-workflow/src/client/WorkflowTasks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/@nocobase/plugin-workflow/src/client/WorkflowTasks.tsx b/packages/plugins/@nocobase/plugin-workflow/src/client/WorkflowTasks.tsx index 75f63d398d..930101b3d4 100644 --- a/packages/plugins/@nocobase/plugin-workflow/src/client/WorkflowTasks.tsx +++ b/packages/plugins/@nocobase/plugin-workflow/src/client/WorkflowTasks.tsx @@ -155,7 +155,7 @@ function useTaskTypeItems() { return useMemo( () => Array.from(workflowPlugin.taskTypes.getKeys()) - .filter((key) => Boolean(counts[key]?.all)) + .filter((key: string) => Boolean(counts[key]?.all)) .map((key: string) => { return { key,