mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
max 5 entries on overview
This commit is contained in:
parent
e88e3aeb88
commit
c08dff8e84
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user