adding styling to vendors page.
This commit is contained in:
@@ -204,9 +204,9 @@
|
||||
(r/children (r/current-component))))))
|
||||
|
||||
(defn virtual-paginate [start xs ]
|
||||
(take 100 (drop start xs)))
|
||||
(take 100 (drop (or start 0) xs)))
|
||||
|
||||
(defn virtual-paginate-controls [start xs]
|
||||
{:start start :end (min (+ start 100)
|
||||
(count xs))
|
||||
{:start (or start 0) :end (min (+ (or start 0) 100)
|
||||
(count xs))
|
||||
:total (count xs)})
|
||||
|
||||
Reference in New Issue
Block a user