From b2bef26ea46a75aecf07c89fc95a95c12edf9da9 Mon Sep 17 00:00:00 2001 From: wickathou Date: Fri, 12 Jul 2024 17:14:54 +0300 Subject: [PATCH] Removed unnecesary lines from eu pipeline Modified rendering of source code for ProjectDetail to display the right content and use the appropiate html tags --- azure-pipelines-eu.yml | 2 -- .../projects/ProjectDetail/index.js | 24 ++++++++++++------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/azure-pipelines-eu.yml b/azure-pipelines-eu.yml index 3b6c4c0b6..3cb6c31af 100644 --- a/azure-pipelines-eu.yml +++ b/azure-pipelines-eu.yml @@ -1,4 +1,3 @@ -# Works trigger: - none @@ -96,7 +95,6 @@ stages: inputs: targetType: 'inline' script: | - # Modify deployment script based on the app type echo "Starting deployment script run" - task: ExtractFiles@1 diff --git a/frontend/src/components/projects/ProjectDetail/index.js b/frontend/src/components/projects/ProjectDetail/index.js index 23fb3f435..116c5ffd8 100644 --- a/frontend/src/components/projects/ProjectDetail/index.js +++ b/frontend/src/components/projects/ProjectDetail/index.js @@ -517,15 +517,21 @@ const ProjectDetail = ({ Source code {project.sourcePublic ? ( - - {project.source - ? project.source - : 'Not available'} - + <> + {project.source ? ( + + {project.source} + + ) : ( + + Not public + + )} + ) : ( Not public