Shorten date displayed in Collection List items for better layout
This commit is contained in:
parent
ee896b06ec
commit
fef4bd8d71
1 changed files with 2 additions and 2 deletions
|
@ -216,8 +216,8 @@ class CollectionListRowBase extends React.Component {
|
|||
<th scope="row">
|
||||
{this.renderCollectionName()}
|
||||
</th>
|
||||
<td>{format(new Date(collection.createdAt), 'MMM D, YYYY h:mm A')}</td>
|
||||
<td>{format(new Date(collection.updatedAt), 'MMM D, YYYY h:mm A')}</td>
|
||||
<td>{format(new Date(collection.createdAt), 'MMM D, YYYY')}</td>
|
||||
<td>{format(new Date(collection.updatedAt), 'MMM D, YYYY')}</td>
|
||||
<td>{(collection.items || []).length}</td>
|
||||
<td className="sketch-list__dropdown-column">
|
||||
{this.renderActions()}
|
||||
|
|
Loading…
Reference in a new issue