Skip to content

Commit

Permalink
[Observability Overview] Fix unable to load page due to an error in M…
Browse files Browse the repository at this point in the history
  • Loading branch information
maryam-saeidi authored Dec 20, 2023
1 parent 9aed752 commit 73f53f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function MetricWithSparkline({ id, formatter, value, timeseries, color }:
const theme = [EUI_SPARKLINE_THEME_PARTIAL];
const baseTheme = isDarkTheme ? DARK_THEME : LIGHT_THEME;

const colors = theme[1].colors?.vizColors ?? [];
const colors = baseTheme.colors?.vizColors ?? [];

if (!value) {
return (
Expand Down

0 comments on commit 73f53f5

Please sign in to comment.