Skip to content

Commit

Permalink
fix: the undefined threshold format issue (SigNoz#4058)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajat Dabade authored Nov 24, 2023
1 parent f5b1d41 commit d1acad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/container/GridTableComponent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function GridTableComponent({
const idx = thresholds.findIndex(
(t) => t.thresholdTableOptions === e.title,
);
if (idx !== -1) {
if (threshold && idx !== -1) {
return (
<div
style={
Expand Down

0 comments on commit d1acad8

Please sign in to comment.