From 882d480abba0a23df1ff4f01e16592afa5a0294f Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Fri, 13 Nov 2020 18:23:56 -0600 Subject: [PATCH] lint --- .../src/containers/panels/apps/AppRecords.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/console-app/src/containers/panels/apps/AppRecords.js b/packages/console-app/src/containers/panels/apps/AppRecords.js index 062d949..1fa0484 100644 --- a/packages/console-app/src/containers/panels/apps/AppRecords.js +++ b/packages/console-app/src/containers/panels/apps/AppRecords.js @@ -52,8 +52,12 @@ const AppRecords = () => { - {appData.sort(sorter).map(({ id, names, createTime, attributes: { name: displayName, description, version, - versionUrl, repositoryVersion, repository, homepage, package: packageLink } }) => { + {appData.sort(sorter).map(({ + id, names, createTime, attributes: { + name: displayName, description, version, + versionUrl, repositoryVersion, repository, homepage, package: packageLink + } + }) => { const url = repository || homepage; // If this is a GitHub repo, it is trivial to construct the URL from the base repository and version. @@ -69,16 +73,14 @@ const AppRecords = () => { {versionUrl ? {version} - : version - } + : version} {displayName || description} {url && - {url} - } + {url}} {moment.utc(createTime).fromNow()}