fixed html when no items has been found (fixes responsive mode)

This commit is contained in:
Jonathan Labreuille
2015-09-01 17:36:21 +02:00
parent 27883a232a
commit 12a664f44e

View File

@ -59,15 +59,17 @@ define(
if(this.props.items.length === 0) {
return (
<tbody>
<td
colSpan={this.props.columns.length + 1}
className="colspanchange">
{
(this.props.loading === true)
? MailPoetI18n.loading
: MailPoetI18n.noRecordFound
}
</td>
<tr className="no-items">
<td
colSpan={ this.props.columns.length + 1 }
className="colspanchange">
{
(this.props.loading === true)
? MailPoetI18n.loading
: MailPoetI18n.noRecordFound
}
</td>
</tr>
</tbody>
);
} else {