Added Links to Version Info

Actually it would be better if the link is just added if version info is provided. Now the Link is given always.
This commit is contained in:
MartinH0
2020-07-07 22:10:35 +02:00
committed by GitHub
parent 026bb4140e
commit d46acdbd70

View File

@@ -19,7 +19,7 @@ const ShlinkVersions = ({ selectedServer, className, clientVersion = SHLINK_WEB_
return (
<small className={classNames('text-muted', className)}>
Client: <b>{normalizedClientVersion}</b> - Server: <b>{serverVersion}</b>
Client: <a href="https://github.com/shlinkio/shlink-web-client/releases" rel="noopener noreferrer"><b>{normalizedClientVersion}</b></a> - Server: <a href="https://github.com/shlinkio/shlink/releases" rel="noopener noreferrer"><b>{serverVersion}</b></a>
</small>
);
};