fix: file graph console error while typing priority

Typed '[#' and saw an error. build-new-class shouldn't be
be called for file graphs
pull/11507/merge
Gabriel Horner 2024-09-09 15:35:00 -04:00
parent 366e01b7ef
commit 4962aad8ba
1 changed files with 1 additions and 1 deletions

View File

@ -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)]