Skip to content

Commit 71be8ec

Browse files
fix: more built-in attributes that would cause major bugs if changed
1 parent eff2703 commit 71be8ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/frontend/worker/pipeline.cljs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,9 @@
345345
[:db/add v :block/tags :logseq.class/Page]
346346
[:db/retract e a v]]
347347

348-
;; built-in block protected properties updated
349-
(and (contains? #{:db/ident :block/title :block/name :logseq.property/type
348+
;; built-in block protected attributes/properties updated
349+
(and (contains? #{:db/ident :block/title :block/name :block/uuid
350+
:logseq.property/type :db/cardinality
350351
:logseq.property/built-in? :logseq.property.class/extends} a)
351352
(some? (d/entity db-before e))
352353
(let [block (d/entity db-after e)]

0 commit comments

Comments
 (0)