Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Mar 5, 2025
1 parent b30f1f4 commit 754ddd0
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,7 @@ function InternalAlertsPage() {
alertSearchBarStateProps.onRangeToChange(new Date(end).toISOString());
}
};
const chartProps = {
baseTheme: charts.theme.useChartsBaseTheme(),
onBrushEnd,
};

const [ruleStatsLoading, setRuleStatsLoading] = useState<boolean>(false);
const [ruleStats, setRuleStats] = useState<RuleStatsState>({
total: 0,
Expand Down Expand Up @@ -281,7 +278,10 @@ function InternalAlertsPage() {
filter={esQuery}
fullSize
timeRange={alertSummaryTimeRange}
chartProps={chartProps}
chartProps={{
themeOverrides: charts.theme.useChartsBaseTheme(),
onBrushEnd,
}}
/>
</EuiFlexItem>
<EuiFlexItem>
Expand Down

0 comments on commit 754ddd0

Please sign in to comment.