浏览代码

fix: properties with closed value have incorrect title

was using ident instead of :block/title
Gabriel Horner 7 月之前
父节点
当前提交
14091b42d8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)]
             (db-property-build/build-closed-values
              db-ident
-             prop-name
+             (:block/title prop-m)
              (assoc prop-m :db/ident db-ident :closed-values closed-values)
              {:property-attributes
               (merge {:db/id (or (property-db-ids prop-name)