mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 16:36:27 +00:00
fix: property refs not deleted when block property deleted
Fixes https://github.com/logseq/db-test-cn/issues/36. Also fixes private db-property-attributes leaking into refs caused by #11565
This commit is contained in:
@@ -375,7 +375,6 @@
|
||||
(->> ents
|
||||
(map (fn [m]
|
||||
(let [props (->> (db-property/properties m)
|
||||
(remove #(db-property/private-db-attribute-properties (key %)))
|
||||
(into {}))]
|
||||
(cond-> (select-keys m [:block/name :block/type :block/title :block/schema :db/ident
|
||||
:logseq.property.class/properties :logseq.property/parent
|
||||
|
||||
Reference in New Issue
Block a user