mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: invalid data
This commit is contained in:
@@ -895,6 +895,12 @@
|
||||
(into {} entity))
|
||||
eid (:db/id entity)
|
||||
fix (cond
|
||||
(and (:db/valueType entity)
|
||||
(not (or (:db/ident entity)
|
||||
(:db/cardinality entity))))
|
||||
[[:db/retract eid :db/valueType]
|
||||
[:db/retract eid :db/cardinality]]
|
||||
|
||||
(= #{:block/tx-id} (set (keys entity)))
|
||||
[[:db/retractEntity (:db/id entity)]]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user