Tienson Qin 1 год назад
Родитель
Сommit
e3555f524d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      deps/db/src/logseq/db/frontend/malli_schema.cljs

+ 2 - 2
deps/db/src/logseq/db/frontend/malli_schema.cljs

@@ -117,8 +117,8 @@
                                       ;; This allows block types like property-value-block to require properties in
                                       ;; their schema that they depend on
                                       (not= :logseq.property/created-from-property k)
-                                      (d/entity db k)
-                                      (not (db-property/db-attribute-properties k)))]
+                                      (not (db-property/db-attribute-properties k))
+                                      (d/entity db k))]
                  (update m :block/properties (fnil conj [])
                          ;; use explicit call to be nbb compatible
                          [(let [closed-values (entity-plus/lookup-kv-then-entity property :property/closed-values)]