Fix repeated ticks in reviews graph (#4108)

Regressed in #4086
This commit is contained in:
user1823 2025-06-21 17:47:18 +05:30 committed by GitHub
parent c28306eb94
commit 5cc3a2276b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -141,7 +141,7 @@ export function renderReviews(
const yTickFormat = (n: number): string => {
if (showTime) {
return timeSpan(n / 1000, true, false, TimespanUnit.Hours);
return timeSpan(n / 1000, true, true, TimespanUnit.Hours);
} else {
if (Math.round(n) != n) {
return "";