fix: list filter init value

This commit is contained in:
Joel 2024-09-04 10:47:26 +08:00
parent b0e7a22a27
commit b863dd7de2
2 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,7 @@ type Props = {
}
const FilterCondition: FC<Props> = ({
condition,
condition = { key: '', comparison_operator: ComparisonOperator.equal, value: '' },
varType,
onChange,
hasSubVariable,

View File

@ -7,6 +7,7 @@ const i18nPrefix = 'workflow.errorMsg'
const nodeDefault: NodeDefault<ListFilterNodeType> = {
defaultValue: {
variable: [],
filter_by: [],
order_by: {
enabled: false,
key: '',