diff --git a/ui/src/alerts/containers/AlertsApp.js b/ui/src/alerts/containers/AlertsApp.js index ed90e01b7..c75ec8766 100644 --- a/ui/src/alerts/containers/AlertsApp.js +++ b/ui/src/alerts/containers/AlertsApp.js @@ -118,9 +118,9 @@ class AlertsApp extends Component { renderSubComponents = () => { const {source, isWidget, limit} = this.props - const {isAlertsMaxedOut, alerts} = this.state + const {isAlertsMaxedOut, alerts, hasKapacitor} = this.state - return this.state.hasKapacitor ? ( + return hasKapacitor ? ( { - if (!hasKapacitor) { - return - } if (loading) { return (
@@ -28,7 +25,11 @@ const KapacitorRules = ({
-

Loading Rules...

+ {hasKapacitor ? ( +

Loading Rules...

+ ) : ( + + )}