Skip to content

Commit 88351fc

Browse files
authored
fix: dont render download widget if there are not enough datapoints (#1058)
1 parent 7d73ec8 commit 88351fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/routes/package/(_components)/PackageHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export function PackageHeader({
221221
)}
222222
</div>
223223

224-
{downloads && (
224+
{downloads && downloads.total.length > 1 && (
225225
<div>
226226
<DownloadWidget
227227
downloads={downloads.total}

0 commit comments

Comments
 (0)