1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-22 11:33:34 +03:00

Return showing all edits on the /admin page

This commit is contained in:
Artyom 2017-06-11 13:01:25 +02:00
parent 9cd6e2afd5
commit 68d7ea2072
No known key found for this signature in database
GPG Key ID: B8E35A33FF522710

View File

@ -201,8 +201,7 @@ renderAdmin globalState = do
div_ [id_ "stats"] $
renderStats globalState (globalState ^. actions)
div_ [id_ "edits"] $
renderEdits globalState $
take 20 $ (map (,Nothing) (globalState ^. pendingEdits))
renderEdits globalState (map (,Nothing) (globalState ^. pendingEdits))
-- | Render statistics on the admin page.
renderStats