mirror of
https://github.com/logseq/logseq.git
synced 2026-05-29 15:09:41 +00:00
fix lint
This commit is contained in:
@@ -221,6 +221,7 @@
|
||||
(extend-type Entity
|
||||
cljs.core/IEncodeJS
|
||||
(-clj->js [_this] nil) ; avoid `clj->js` overhead when entity was passed to rum components
|
||||
(-key->js [_this] nil)
|
||||
|
||||
IAssociative
|
||||
(-assoc [this k v]
|
||||
|
||||
10
deps/db/src/logseq/db/common/view.cljs
vendored
10
deps/db/src/logseq/db/common/view.cljs
vendored
@@ -219,11 +219,11 @@
|
||||
(if entity?
|
||||
(let [property (d/entity db property-ident)]
|
||||
(if (match-property-value-as-entity? (first value') property)
|
||||
(boolean (empty? (set/intersection (set (map :block/uuid value')) match)))
|
||||
(boolean (empty? (set/intersection (set (map db-property/property-value-content value'))
|
||||
(set (map (comp db-property/property-value-content #(d/entity db [:block/uuid %]))
|
||||
match)))))))
|
||||
(boolean (empty? (set/intersection (set value') match)))))
|
||||
(empty? (set/intersection (set (map :block/uuid value')) match))
|
||||
(empty? (set/intersection (set (map db-property/property-value-content value'))
|
||||
(set (map (comp db-property/property-value-content #(d/entity db [:block/uuid %]))
|
||||
match))))))
|
||||
(empty? (set/intersection (set value') match))))
|
||||
|
||||
:text-contains
|
||||
(some (fn [v]
|
||||
|
||||
Reference in New Issue
Block a user