Explorar o código

fix: block value property not loaded

Tienson Qin hai 1 ano
pai
achega
2b95ca6ed6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/frontend/components/property/value.cljs

+ 1 - 1
src/main/frontend/components/property/value.cljs

@@ -471,7 +471,7 @@
   (rum/local nil ::template-instance)
   (rum/local nil ::template-instance)
   {:init (fn [state]
   {:init (fn [state]
            (let [block-id (first (:rum/args state))]
            (let [block-id (first (:rum/args state))]
-             (db-async/<get-block (state/get-current-repo) block-id :children? false))
+             (db-async/<get-block (state/get-current-repo) block-id :children? true))
            state)}
            state)}
   [state value block property block-cp editor-box opts page-cp editor-id]
   [state value block property block-cp editor-box opts page-cp editor-id]
   (let [*template-instance (::template-instance state)
   (let [*template-instance (::template-instance state)