fix: display logbook for scheduled tasks

pull/2777/head
Tienson Qin 2021-09-06 12:25:39 +08:00
parent 2a5f0cee7c
commit 0550c8a876
1 changed files with 4 additions and 2 deletions

View File

@ -2467,8 +2467,10 @@
(try
(match item
["Drawer" name lines]
(when (not= name "logbook")
(when (or (not= name "logbook")
(and
(= name "logbook")
(:block/scheduled (:block config))))
[:div.flex.flex-col
[:div.text-sm.mt-1.flex.flex-row
[:div.drawer {:data-drawer-name name}