fixed html when no items has been found (fixes responsive mode)
This commit is contained in:
@ -59,8 +59,9 @@ define(
|
|||||||
if(this.props.items.length === 0) {
|
if(this.props.items.length === 0) {
|
||||||
return (
|
return (
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr className="no-items">
|
||||||
<td
|
<td
|
||||||
colSpan={this.props.columns.length + 1}
|
colSpan={ this.props.columns.length + 1 }
|
||||||
className="colspanchange">
|
className="colspanchange">
|
||||||
{
|
{
|
||||||
(this.props.loading === true)
|
(this.props.loading === true)
|
||||||
@ -68,6 +69,7 @@ define(
|
|||||||
: MailPoetI18n.noRecordFound
|
: MailPoetI18n.noRecordFound
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user