mirror of https://github.com/logseq/logseq
fix: simple queries not working in config.edn
parent
216f8ed3c9
commit
125a47738d
|
@ -23,6 +23,7 @@
|
||||||
:else
|
:else
|
||||||
nil)]
|
nil)]
|
||||||
(let [repo (state/get-current-repo)]
|
(let [repo (state/get-current-repo)]
|
||||||
(if (list? (:query query')) ; dsl query
|
(if (or (list? (:query query'))
|
||||||
|
(not= :find (first (:query query')))) ; dsl query
|
||||||
(dsl/custom-query repo query' query-opts )
|
(dsl/custom-query repo query' query-opts )
|
||||||
(react/react-query repo query' query-opts))))))
|
(react/react-query repo query' query-opts))))))
|
||||||
|
|
Loading…
Reference in New Issue