Browse Source

tweak schema as properties always have :type

Gabriel Horner 1 year ago
parent
commit
47ed035d42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deps/db/src/logseq/db/frontend/malli_schema.cljs

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

@@ -299,7 +299,7 @@
    (concat
     [:map
      [:db/ident user-property-ident]
-     [:block/schema {:optional true} user-property-schema]]
+     [:block/schema user-property-schema]]
     property-attrs
     page-attrs
     page-or-block-attrs)))