Skip to content

Commit ca65c75

Browse files
committed
style: Do not show marks in dashboard slider if we have more than 50
1 parent 6dd3644 commit ca65c75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/dashboard-interactive-filters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ const DashboardTimeRangeSlider = ({
200200
step={step}
201201
valueLabelDisplay={mountedForSomeTime ? "on" : "off"}
202202
value={timeRange}
203-
marks
203+
marks={(max - min) / (step ?? 1) < 50}
204204
/>
205205
);
206206
};

0 commit comments

Comments
 (0)