💄 omit 'Date' from header fields on mobile
This commit is contained in:
parent
fe81240ab6
commit
2e34bd7ea3
2 changed files with 4 additions and 4 deletions
|
@ -143,8 +143,8 @@ class CollectionList extends React.Component {
|
|||
<thead>
|
||||
<tr>
|
||||
{this._renderFieldHeader('name', 'Name')}
|
||||
{this._renderFieldHeader('createdAt', 'Date Created')}
|
||||
{this._renderFieldHeader('updatedAt', 'Date Updated')}
|
||||
{this._renderFieldHeader('createdAt', `${mobile ? '' : 'Date '}Created`)}
|
||||
{this._renderFieldHeader('updatedAt', `${mobile ? '' : 'Date '}Updated`)}
|
||||
{this._renderFieldHeader('numItems', '# sketches')}
|
||||
<th scope="col"></th>
|
||||
</tr>
|
||||
|
|
|
@ -437,8 +437,8 @@ class SketchList extends React.Component {
|
|||
<thead>
|
||||
<tr>
|
||||
{this._renderFieldHeader('name', 'Sketch')}
|
||||
{this._renderFieldHeader('createdAt', 'Date Created')}
|
||||
{this._renderFieldHeader('updatedAt', 'Date Updated')}
|
||||
{this._renderFieldHeader('createdAt', `${mobile && 'Date '}Created`)}
|
||||
{this._renderFieldHeader('updatedAt', `${mobile && 'Date '}Updated`)}
|
||||
<th scope="col"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
Loading…
Reference in a new issue