1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-22 20:01:36 +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"] $ div_ [id_ "stats"] $
renderStats globalState (globalState ^. actions) renderStats globalState (globalState ^. actions)
div_ [id_ "edits"] $ div_ [id_ "edits"] $
renderEdits globalState $ renderEdits globalState (map (,Nothing) (globalState ^. pendingEdits))
take 20 $ (map (,Nothing) (globalState ^. pendingEdits))
-- | Render statistics on the admin page. -- | Render statistics on the admin page.
renderStats renderStats