Remove unnecessary wrapping DIV
parent
e99fade37c
commit
ca2104c9f7
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue