Remove unnecessary wrapping DIV

pull/10616/head
Alex P 2017-06-08 14:49:41 -07:00
parent e99fade37c
commit ca2104c9f7
1 changed files with 7 additions and 11 deletions

View File

@ -105,17 +105,13 @@ class AlertsApp extends Component {
renderSubComponents() { renderSubComponents() {
const {source, isWidget} = this.props const {source, isWidget} = this.props
return ( return this.state.hasKapacitor
<div> ? <AlertsTable
{this.state.hasKapacitor source={source}
? <AlertsTable alerts={this.state.alerts}
source={source} shouldNotBeFilterable={isWidget}
alerts={this.state.alerts} />
shouldNotBeFilterable={isWidget} : <NoKapacitorError source={source} />
/>
: <NoKapacitorError source={source} />}
</div>
)
} }
handleToggleTime() { handleToggleTime() {