From 0dce2128503b9ac1ce4bc5a1aaa8b9c78c607fee Mon Sep 17 00:00:00 2001 From: John Coburn Date: Mon, 2 Oct 2023 16:43:57 -0500 Subject: [PATCH] fix code smell --- .../ViewJobProfile/ViewJobProfile.js | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/settings/JobProfiles/ViewJobProfile/ViewJobProfile.js b/src/settings/JobProfiles/ViewJobProfile/ViewJobProfile.js index 5f83b846e..fca295eaa 100644 --- a/src/settings/JobProfiles/ViewJobProfile/ViewJobProfile.js +++ b/src/settings/JobProfiles/ViewJobProfile/ViewJobProfile.js @@ -76,6 +76,16 @@ const { ERROR, } = FILE_STATUSES; +const jobPartsCellFormatter = record => ( + +); + const ViewJobProfileComponent = props => { const { resources, @@ -295,15 +305,7 @@ const ViewJobProfileComponent = props => { const jobsUsingThisProfileFormatter = { ...listTemplate({}), fileName: record => fileNameCellFormatter(record, location), - jobParts: record => ( - - ) + jobParts: jobPartsCellFormatter }; const tagsEntityLink = `data-import-profiles/jobProfiles/${jobProfileRecord.id}`;