fix: add back haschild attribute

pull/3154/head
Peng Xiao 2021-11-13 22:44:27 +08:00 committed by Tienson Qin
parent b38531295a
commit 63d8130b8c
1 changed files with 2 additions and 1 deletions

View File

@ -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)