Skip to content

Commit

Permalink
style: Do not show marks in dashboard slider if we have more than 50
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Jun 6, 2024
1 parent 6dd3644 commit ca65c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/dashboard-interactive-filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ const DashboardTimeRangeSlider = ({
step={step}
valueLabelDisplay={mountedForSomeTime ? "on" : "off"}
value={timeRange}
marks
marks={(max - min) / (step ?? 1) < 50}
/>
);
};
Expand Down

0 comments on commit ca65c75

Please sign in to comment.