💄 omit 'Date' from header fields on mobile

This commit is contained in:
ghalestrilo 2020-08-13 16:07:46 -03:00
parent 2e34bd7ea3
commit e181a741b1

View file

@ -437,8 +437,8 @@ class SketchList extends React.Component {
<thead>
<tr>
{this._renderFieldHeader('name', 'Sketch')}
{this._renderFieldHeader('createdAt', `${mobile && 'Date '}Created`)}
{this._renderFieldHeader('updatedAt', `${mobile && 'Date '}Updated`)}
{this._renderFieldHeader('createdAt', `${mobile ? '' : 'Date '}Created`)}
{this._renderFieldHeader('updatedAt', `${mobile ? '' : 'Date '}Updated`)}
<th scope="col"></th>
</tr>
</thead>