Bläddra i källkod

fix: properties with closed value have incorrect title

was using ident instead of :block/title
Gabriel Horner 7 månader sedan
förälder
incheckning
14091b42d8
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      deps/db/src/logseq/db/sqlite/build.cljs

+ 1 - 1
deps/db/src/logseq/db/sqlite/build.cljs

@@ -178,7 +178,7 @@
           (let [db-ident (get-ident all-idents prop-name)]
           (let [db-ident (get-ident all-idents prop-name)]
             (db-property-build/build-closed-values
             (db-property-build/build-closed-values
              db-ident
              db-ident
-             prop-name
+             (:block/title prop-m)
              (assoc prop-m :db/ident db-ident :closed-values closed-values)
              (assoc prop-m :db/ident db-ident :closed-values closed-values)
              {:property-attributes
              {:property-attributes
               (merge {:db/id (or (property-db-ids prop-name)
               (merge {:db/id (or (property-db-ids prop-name)