From 8e37a60d8580d96ea76cf80fc8f1cfcec53ca1e3 Mon Sep 17 00:00:00 2001 From: DapperMickie Date: Fri, 12 Apr 2024 07:35:07 +0200 Subject: [PATCH] Fix plugin hub show Fixed issue when externalPlugin.github is null. Fixes https://github.com/runelite/runelite.net/issues/496 --- src/routes/plugin-hub-show.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/routes/plugin-hub-show.js b/src/routes/plugin-hub-show.js index 477e3ba70..fc8eca6c9 100644 --- a/src/routes/plugin-hub-show.js +++ b/src/routes/plugin-hub-show.js @@ -69,14 +69,16 @@ const PluginHubShow = ({ externalPlugin }) => {
{externalPlugin.description}
-
- - - Report an issue - -
+ {externalPlugin.github && ( +
+ + + Report an issue + +
+ )} {externalPlugin.github && (