Fix bug where admin history date was always today
This commit is contained in:
parent
adaa0e0d3c
commit
e6c172eb95
|
@ -43,7 +43,7 @@ export function AdminHistory(props) {
|
||||||
<Table.Body>
|
<Table.Body>
|
||||||
{history.map(x =>
|
{history.map(x =>
|
||||||
<Table.Row key={x.id}>
|
<Table.Row key={x.id}>
|
||||||
<Table.Cell>{moment().utc(x.history_date).format('YYYY-MM-DD')}</Table.Cell>
|
<Table.Cell>{moment.utc(x.history_date).format('YYYY-MM-DD')}</Table.Cell>
|
||||||
<Table.Cell>{x.history_user || 'System'}</Table.Cell>
|
<Table.Cell>{x.history_user || 'System'}</Table.Cell>
|
||||||
<Table.Cell>{x.history_type}</Table.Cell>
|
<Table.Cell>{x.history_type}</Table.Cell>
|
||||||
<Table.Cell>{x.owner_name}</Table.Cell>
|
<Table.Cell>{x.owner_name}</Table.Cell>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user