mirror of https://github.com/logseq/logseq
fix: file graph console error while typing priority
Typed '[#' and saw an error. build-new-class shouldn't be be called for file graphspull/11507/merge
parent
366e01b7ef
commit
4962aad8ba
|
@ -419,7 +419,7 @@
|
|||
(when-not macro?
|
||||
(let [m (page-name->map item db true date-formatter {:class? tag?})
|
||||
result (cond->> m
|
||||
(and tag? (not (:db/ident m)))
|
||||
(and db-based? tag? (not (:db/ident m)))
|
||||
(db-class/build-new-class db))
|
||||
page-name (:block/name result)
|
||||
id (get @*name->id page-name)]
|
||||
|
|
Loading…
Reference in New Issue