fix: missing the "More" button on the right sidebar

close #4991
pull/5377/head
Tienson Qin 2022-05-20 09:43:56 +08:00
parent 941de325b8
commit fa198b691a
1 changed files with 2 additions and 2 deletions

View File

@ -883,7 +883,7 @@
(mobile-util/is-native-platform?)
(asset-link config label-text s metadata full_text))
(contains? (config/doc-formats) ext)
(asset-link config label-text s metadata full_text)
@ -3059,7 +3059,7 @@
(when (> (- (util/time-ms) (:start-time config)) 100)
(load-more-blocks! config flat-blocks)))
has-more? (and
(> (count flat-blocks) model/initial-blocks-length)
(>= (count flat-blocks) model/initial-blocks-length)
(some? (model/get-next-open-block (db/get-db) (last flat-blocks) db-id)))
dom-id (str "lazy-blocks-" (::id state))]
[:div {:id dom-id}