mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix(plugin-workflow): fix type
This commit is contained in:
parent
1bfdbdadf1
commit
46d7ff69d9
@ -155,7 +155,7 @@ function useTaskTypeItems() {
|
|||||||
return useMemo(
|
return useMemo(
|
||||||
() =>
|
() =>
|
||||||
Array.from(workflowPlugin.taskTypes.getKeys())
|
Array.from(workflowPlugin.taskTypes.getKeys())
|
||||||
.filter((key) => Boolean(counts[key]?.all))
|
.filter((key: string) => Boolean(counts[key]?.all))
|
||||||
.map((key: string) => {
|
.map((key: string) => {
|
||||||
return {
|
return {
|
||||||
key,
|
key,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user