Fix repeated ticks in reviews graph

Regressed in #4086
This commit is contained in:
user1823 2025-06-20 22:24:52 +05:30 committed by GitHub
parent b781dfabf5
commit 146f504416
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 "";