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