mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-19 00:05:53 +08:00
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…
x
Reference in New Issue
Block a user