mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix: ci
This commit is contained in:
2
deps/graph-parser/.carve/ignore
vendored
2
deps/graph-parser/.carve/ignore
vendored
@@ -30,3 +30,5 @@ logseq.graph-parser.util.page-ref/page-ref-re
|
||||
logseq.graph-parser.property/->block-content
|
||||
;; API
|
||||
logseq.graph-parser.property/property-value-from-content
|
||||
;; API
|
||||
logseq.graph-parser.whiteboard/page-block->tldr-page
|
||||
|
||||
@@ -20,14 +20,6 @@
|
||||
(vector? block)
|
||||
(= "Heading" (first block))))
|
||||
|
||||
(defn whiteboard-properties?
|
||||
[properties]
|
||||
(and properties
|
||||
(or (#{:whiteboard-shape :whiteboard-page} (:ls-type properties))
|
||||
;; whiteboard page will have the following properties. We use them as a hint
|
||||
(and (:assets properties)
|
||||
(:bindings properties)))))
|
||||
|
||||
(defn get-tag
|
||||
[block]
|
||||
(when-let [tag-value (and (vector? block)
|
||||
|
||||
@@ -1355,8 +1355,7 @@
|
||||
:where
|
||||
[_ :block/properties ?p]]
|
||||
(conn/get-db))
|
||||
properties (remove (fn [m] (or (empty? m)
|
||||
(gp-block/whiteboard-properties? m))) properties)]
|
||||
properties (remove (fn [m] (empty? m)) properties)]
|
||||
(->> (map keys properties)
|
||||
(apply concat)
|
||||
distinct
|
||||
|
||||
Reference in New Issue
Block a user