Merge pull request #223 from meshtastic/configure

Use tag name to make display more consistent
This commit is contained in:
Ben Meadors 2022-02-01 11:25:24 -06:00 committed by GitHub
commit bb855a26a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -431,4 +431,4 @@ Deprecated - use "--set is_router true" instead.
### --unset-router
Deprecated - use "--set is_router false" instead.
Deprecated - use "--set is_router false" instead.

View file

@ -20,7 +20,7 @@ export const FirmwareCard = ({
style={{ display: "flex", justifyContent: "space-between" }}
>
<h3>{variant}</h3>
{release?.length && <a href={release[0].html_url}>{release[0].name}</a>}
{release?.length && <a href={release[0].html_url}>{release[0].tag_name}</a>}
</div>
<div className="card__body">
<p>{description}</p>
@ -40,7 +40,7 @@ export const FirmwareCard = ({
return (
<div key={release.id}>
<a href={release.assets[1]?.browser_download_url}>
{release.name}
{release.tag_name}
</a>
</div>
);