mirror of https://github.com/langgenius/dify.git
fix: list filter init value
This commit is contained in:
parent
b0e7a22a27
commit
b863dd7de2
|
|
@ -22,7 +22,7 @@ type Props = {
|
|||
}
|
||||
|
||||
const FilterCondition: FC<Props> = ({
|
||||
condition,
|
||||
condition = { key: '', comparison_operator: ComparisonOperator.equal, value: '' },
|
||||
varType,
|
||||
onChange,
|
||||
hasSubVariable,
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ const i18nPrefix = 'workflow.errorMsg'
|
|||
const nodeDefault: NodeDefault<ListFilterNodeType> = {
|
||||
defaultValue: {
|
||||
variable: [],
|
||||
filter_by: [],
|
||||
order_by: {
|
||||
enabled: false,
|
||||
key: '',
|
||||
|
|
|
|||
Loading…
Reference in New Issue