Browse Source

fix: add back haschild attribute

Peng Xiao 4 years ago
parent
commit
63d8130b8c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/frontend/components/block.cljs

+ 2 - 1
src/main/frontend/components/block.cljs

@@ -2159,7 +2159,8 @@
                    (when (and collapsed? has-child?) " collapsed")
                    (when pre-block? " pre-block")
                    (when (and card? (not review-cards?)) " shadow-xl"))
-       :blockid (str uuid)}
+       :blockid (str uuid)
+       :haschild (str has-child?)}
 
        level
        (assoc :level level)