mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 23:54:55 +00:00
Fix nested boolean case - close #4510
This commit is contained in:
committed by
Tienson Qin
parent
e959e257b7
commit
3a19687988
@@ -192,12 +192,7 @@
|
||||
nested-and?
|
||||
result
|
||||
|
||||
(and (zero? level) (= 'and fe))
|
||||
(if (list? (first clauses))
|
||||
result
|
||||
(distinct (apply concat clauses)))
|
||||
|
||||
(and (zero? level) (= 'or fe))
|
||||
(and (zero? level) (contains? #{'and 'or} fe))
|
||||
result
|
||||
|
||||
:else
|
||||
|
||||
Reference in New Issue
Block a user