Skip to content

Commit

Permalink
Only show total downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Jul 20, 2024
1 parent 22d6703 commit 862189f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ function renderPlugins(data: PluginsData) {
<div id="plugins-header">
<div>Name</div>
<div>URL</div>
<div>Latest Downloads</div>
<div>Total Downloads</div>
<div>Downloads</div>
<div></div>
</div>
{data.latest.map((plugin) => renderPlugin(plugin))}
Expand All @@ -84,8 +83,7 @@ function renderPlugin(plugin: PluginData) {
<div className="plugin" key={plugin.name}>
<div>{plugin.name}</div>
<div>{plugin.url}</div>
<div>{plugin.downloadCount.currentVersion}</div>
<div>{plugin.downloadCount.allVersions}</div>
<div>{plugin.downloadCount.allVersions?.toLocaleString("en-US")}</div>
<div>
<button className="copy-button" title="Copy to clipboard" data-url={plugin.url}>
Copy
Expand Down

0 comments on commit 862189f

Please sign in to comment.