mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
fix: macros were not being saved
macros were being discarded as unknown blocks when they should've been saved as a block with a known type. Introduced a new type number as macros don't have most of the attributes that blocks or pages do. Features like collapsible queries now work in db graphs. Also removed an outdated reference that assumed macro was a page (which it no longer is)
This commit is contained in:
@@ -154,8 +154,7 @@
|
||||
(or (util/uuid-string? name)
|
||||
(gp-config/draw? name)
|
||||
(db/built-in-pages-names (string/upper-case name))
|
||||
(db-property/built-in-properties-keys-str name)
|
||||
(contains? (:block/type p) "macro")))))
|
||||
(db-property/built-in-properties-keys-str name)))))
|
||||
(common-handler/fix-pages-timestamps)))
|
||||
|
||||
(defn get-filters
|
||||
|
||||
Reference in New Issue
Block a user