mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
chore: remove util/in?
This commit is contained in:
@@ -145,8 +145,7 @@
|
||||
(when-let [block (db/entity repo [:block/uuid block-id])]
|
||||
(let [properties (:page/properties (:block/page block))
|
||||
property-names (keys properties)]
|
||||
(and (every? #(util/in? % '(:title :filter)) property-names)
|
||||
(= 1 (count properties))
|
||||
(and (every? #(contains? #{:title :filters} %) property-names)
|
||||
(let [ast (mldoc/->edn (:block/content block) (mldoc/default-config (:block/format block)))]
|
||||
(or
|
||||
(empty? (rest ast))
|
||||
|
||||
Reference in New Issue
Block a user