mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-17 01:17:29 +02:00
add more entries
This commit is contained in:
parent
dc2e68dc29
commit
3faa521a38
@ -130,7 +130,7 @@ class EditFeatureToggleWrapper extends React.Component {
|
||||
{history.map(({ createdAt, type, createdBy }, i) =>
|
||||
<ListItem twoLine key={i}>
|
||||
<ListItemContent title={type} avatar={getIcon(type)} subtitle={createdAt}>
|
||||
{createdBy}
|
||||
{type} <small>{createdBy}</small>
|
||||
</ListItemContent>
|
||||
</ListItem>)}
|
||||
</List>
|
||||
@ -188,7 +188,7 @@ function getHistoryFromToggle (state, toggleName) {
|
||||
if (state.history.hasIn(['toggles', toggleName])) {
|
||||
return state.history
|
||||
.getIn(['toggles', toggleName])
|
||||
.slice(0, 5)
|
||||
.slice(0, 10)
|
||||
.toJS()
|
||||
.map(({ createdAt, createdBy, type }) => ({
|
||||
createdAt: new Date(createdAt).toLocaleString('nb-NO'),
|
||||
|
Loading…
Reference in New Issue
Block a user