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:
parent
9cd6e2afd5
commit
68d7ea2072
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user