1
0
Fork 0

Fix js syntax

This commit is contained in:
Gregory Eremin 2015-02-08 22:10:00 +07:00
parent b54696bb68
commit bdac7811db
1 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ var QueuesList = React.createClass({
<td colSpan="3" className="placeholder">Loading...</td>
</tr>
</tbody>
)
);
}
if (Object.keys(this.props.queues) === 0) {
@ -97,7 +97,7 @@ var QueuesList = React.createClass({
<td colSpan="3" className="placeholder">This server has no queues</td>
</tr>
</tbody>
)
);
}
var queues = this.props.queues;
@ -170,7 +170,7 @@ var Dashboard = React.createClass({
},
refresh: function() {
var xhr = new XMLHttpRequest()
var xhr = new XMLHttpRequest(),
self = this;
xhr.open('GET', this.props.api, true);