0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 10:38:13 -05:00

Load more history data on first request.

This commit is contained in:
Andrey Antukh 2019-10-22 13:29:36 +02:00
parent 7598637efc
commit 232d871773

View file

@ -145,7 +145,7 @@
ptk/WatchEvent
(watch [_ state s]
(let [params (merge {:page id
:max (or max 5)}
:max (or max 20)}
(when since
{:since since}))]
(->> (rp/req :fetch/page-history params)