Skip to content

Commit 0d2cc49

Browse files
committed
Revert "fix: round downloads to avoid fractions showing up when hovering WeeklyDownloadStats"
This reverts commit 47bd16e.
1 parent 47bd16e commit 0d2cc49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/Package/WeeklyDownloadStats.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ const correctedDownloads = computed<WeeklyDataPoint[]>(() => {
201201
202202
const dataset = computed<VueUiSparklineDatasetItem[]>(() =>
203203
correctedDownloads.value.map(d => ({
204-
value: Math.ceil(d?.value ?? 0),
204+
value: d?.value ?? 0,
205205
period: $t('package.trends.date_range', {
206206
start: d.weekStart ?? '-',
207207
end: d.weekEnd ?? '-',

0 commit comments

Comments
 (0)