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) { if(this.props.items.length === 0) {
return ( return (
<tbody> <tbody>
<td <tr className="no-items">
colSpan={this.props.columns.length + 1} <td
className="colspanchange"> colSpan={ this.props.columns.length + 1 }
{ className="colspanchange">
(this.props.loading === true) {
? MailPoetI18n.loading (this.props.loading === true)
: MailPoetI18n.noRecordFound ? MailPoetI18n.loading
} : MailPoetI18n.noRecordFound
</td> }
</td>
</tr>
</tbody> </tbody>
); );
} else { } else {