Fix js syntax
This commit is contained in:
parent
b54696bb68
commit
bdac7811db
|
@ -87,7 +87,7 @@ var QueuesList = React.createClass({
|
||||||
<td colSpan="3" className="placeholder">Loading...</td>
|
<td colSpan="3" className="placeholder">Loading...</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Object.keys(this.props.queues) === 0) {
|
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>
|
<td colSpan="3" className="placeholder">This server has no queues</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
var queues = this.props.queues;
|
var queues = this.props.queues;
|
||||||
|
@ -170,7 +170,7 @@ var Dashboard = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
refresh: function() {
|
refresh: function() {
|
||||||
var xhr = new XMLHttpRequest()
|
var xhr = new XMLHttpRequest(),
|
||||||
self = this;
|
self = this;
|
||||||
|
|
||||||
xhr.open('GET', this.props.api, true);
|
xhr.open('GET', this.props.api, true);
|
||||||
|
|
Loading…
Reference in New Issue