From c08dff8e84ed472e1bc14508b3f056de5db5e121 Mon Sep 17 00:00:00 2001 From: sveisvei Date: Mon, 5 Dec 2016 18:25:36 +0100 Subject: [PATCH] max 5 entries on overview --- frontend/src/component/feature/view-edit-container.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/component/feature/view-edit-container.jsx b/frontend/src/component/feature/view-edit-container.jsx index 76373fad47..9eb7160b0a 100644 --- a/frontend/src/component/feature/view-edit-container.jsx +++ b/frontend/src/component/feature/view-edit-container.jsx @@ -154,7 +154,7 @@ function getHistoryFromToggle (state, toggleName) { if (state.history.hasIn(['toggles', toggleName])) { return state.history .getIn(['toggles', toggleName]) - .slice(0, 10) + .slice(0, 5) .toJS() .map(({ createdAt, createdBy, type }) => ({ createdAt: new Date(createdAt).toString(),