Преглед изворни кода

fix: block value property not loaded

Tienson Qin пре 1 година
родитељ
комит
2b95ca6ed6
1 измењених фајлова са 1 додато и 1 уклоњено
  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)
   {:init (fn [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 value block property block-cp editor-box opts page-cp editor-id]
   (let [*template-instance (::template-instance state)