1
0
Fork 0
mirror of synced 2024-07-04 22:11:23 +12:00

Sanitise field

This commit is contained in:
Adria Navarro 2023-10-03 17:35:40 +02:00
parent 0da029c896
commit 3f37416016

View file

@ -162,8 +162,8 @@
filter.value = []
} else if (
previousType !== filter.type &&
previousType === FieldType.BB_REFERENCE &&
filter.type === FieldType.BB_REFERENCE
(previousType === FieldType.BB_REFERENCE ||
filter.type === FieldType.BB_REFERENCE)
) {
filter.value = filter.type === "array" ? [] : null
}