mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 12:18:15 +08:00
fix(plugin-workflow): remove string template in condition calculation (#3688)
This commit is contained in:
parent
00cf5fa02c
commit
e9e116e476
@ -355,7 +355,7 @@ export default class extends Instruction {
|
||||
'x-component-props': {
|
||||
options: [
|
||||
['basic', { label: `{{t("Basic", { ns: "${NAMESPACE}" })}}` }],
|
||||
...Array.from(evaluators.getEntities()),
|
||||
...Array.from(evaluators.getEntities()).filter(([key]) => ['math.js', 'formula.js'].includes(key)),
|
||||
].reduce((result: RadioWithTooltipOption[], [value, options]: any) => result.concat({ value, ...options }), []),
|
||||
},
|
||||
required: true,
|
||||
|
Loading…
Reference in New Issue
Block a user