Skip to content

Commit

Permalink
fix: es graph preview
Browse files Browse the repository at this point in the history
  • Loading branch information
jsers committed Jan 8, 2025
1 parent 22286d0 commit fc55bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/elasticsearch/AlertRule/GraphPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default function GraphPreview(props: IProps) {
return {
title: item,
render: (record) => {
return record.metric?.[record] ?? '-';
return record.metric?.[item] ?? '-';
},
};
}) as any[],
Expand Down

0 comments on commit fc55bee

Please sign in to comment.