Skip to content

Commit

Permalink
Fix plugin hub rendering for non-existent repositories (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
DapperMickie authored Apr 12, 2024
1 parent 408648a commit 51256a6
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/routes/plugin-hub-show.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,16 @@ const PluginHubShow = ({ externalPlugin }) => {
<div className="ml-4 text-muted">
{externalPlugin.description}
</div>
<div className="ml-auto">
<a
href={`https://github.com/${externalPlugin.github.user}/${externalPlugin.github.repo}/issues`}
>
<i class="fab fa-github" />
<span> Report an issue</span>
</a>
</div>
{externalPlugin.github && (
<div className="ml-auto">
<a
href={`https://github.com/${externalPlugin.github.user}/${externalPlugin.github.repo}/issues`}
>
<i class="fab fa-github" />
<span> Report an issue</span>
</a>
</div>
)}
</div>
{externalPlugin.github && (
<div class="card-body markdown-body">
Expand Down

0 comments on commit 51256a6

Please sign in to comment.