Simplify condition
This commit is contained in:
parent
fafce24d5b
commit
fdca96609b
|
@ -31,9 +31,7 @@
|
||||||
$: {
|
$: {
|
||||||
if (
|
if (
|
||||||
!drawerVisible ||
|
!drawerVisible ||
|
||||||
tempValue.some(
|
tempValue.some(option => option.label && option.value)
|
||||||
option => option.label?.length > 0 && option.value?.length > 0
|
|
||||||
)
|
|
||||||
) {
|
) {
|
||||||
valid = true
|
valid = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue