Skip to content

Commit cb0bda3

Browse files
committed
fix: validate graph shouldn't remove empty-placeholder values
1 parent 561f422 commit cb0bda3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/frontend/worker/db/validate.cljs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@
168168
(:db/ident property))]
169169
(keep
170170
(fn [[b v]]
171-
(when-not (matches v)
171+
(when-not (or (matches v)
172+
(= :logseq.property/empty-placeholder (:db/ident (d/entity db v))))
172173
[:db/retract b (:db/ident property) v]))
173174
values)))
174175
properties)]

0 commit comments

Comments
 (0)