mirror of https://github.com/logseq/logseq
enhance: create today's page if it doesn't exist when scrolling to
the top of journals pagepull/3239/head
parent
0db47304ef
commit
3d9b67b3da
|
@ -97,6 +97,7 @@
|
|||
[:div.journal-item.content {:key journal-name}
|
||||
(journal-cp [journal-name format])])
|
||||
{:has-more (page-handler/has-more-journals?)
|
||||
:on-top-reached page-handler/create-today-journal!
|
||||
:on-load (fn []
|
||||
(page-handler/load-more-journals!))})])
|
||||
|
||||
|
|
Loading…
Reference in New Issue