From 76b3d573c0eaa45080fd2b979243dcc14d4d5501 Mon Sep 17 00:00:00 2001 From: MartinH0 Date: Thu, 9 Jul 2020 15:15:01 +0200 Subject: [PATCH] Update ShlinkVersions.js --- src/common/ShlinkVersions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/ShlinkVersions.js b/src/common/ShlinkVersions.js index b583b159..0dc28c9b 100644 --- a/src/common/ShlinkVersions.js +++ b/src/common/ShlinkVersions.js @@ -17,10 +17,12 @@ const propTypes = { const ShlinkVersions = ({ selectedServer, className, clientVersion = SHLINK_WEB_CLIENT_VERSION }) => { const { printableVersion: serverVersion } = selectedServer; const normalizedClientVersion = pipe(versionToSemVer(), versionToPrintable)(clientVersion); + const linkClientVersion = () => (
normalizedClientVersion
); + const linkServerVersion = () => (
serverVersion
); return ( - Client: {normalizedClientVersion} - Server: {serverVersion} + Client: {linkClientVersion} - Server: {linkServerVersion} ); };