Remove duplicate loading state

pull/10616/head
Alex P 2017-05-10 19:16:57 -07:00
parent 07460fcef1
commit ec605e8c6f
1 changed files with 1 additions and 6 deletions

View File

@ -93,10 +93,6 @@ class AlertsApp extends Component {
}
renderSubComponents() {
if (this.state.loading) {
return <div className="page-spinner"/>
}
const {source} = this.props
return (
<div className="container-fluid">
@ -104,8 +100,7 @@ class AlertsApp extends Component {
<div className="col-md-12">
{this.state.hasKapacitor
? <AlertsTable source={source} alerts={this.state.alerts} />
: <NoKapacitorError source={source} />
}
: <NoKapacitorError source={source} />}
</div>
</div>
</div>