From 10c302ac3b242d4816f18f879e0638b904ea959e Mon Sep 17 00:00:00 2001 From: Vikas Agarwal Date: Fri, 25 Aug 2017 13:04:15 +0530 Subject: [PATCH] =?UTF-8?q?Github=20issue#1102,=20Process/add=20ref=20code?= =?UTF-8?q?=20from=20deep=20link=20=E2=80=94=20Hiding=20ref=20code=20field?= =?UTF-8?q?=20when=20it=20is=20coming=20from=20query=20param?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/projects/detail/components/SpecSection.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/projects/detail/components/SpecSection.jsx b/src/projects/detail/components/SpecSection.jsx index 995baa8a5..52ecc903d 100644 --- a/src/projects/detail/components/SpecSection.jsx +++ b/src/projects/detail/components/SpecSection.jsx @@ -122,7 +122,7 @@ const SpecSection = props => {
{project.name}
} - { (!project.status || project.status === PROJECT_STATUS_DRAFT) && + { (!queryParamRefCode && (!project.status || project.status === PROJECT_STATUS_DRAFT)) &&
{
} - { (refCode && project.status && project.status !== PROJECT_STATUS_DRAFT) && + { (!queryParamRefCode && project.status && project.status !== PROJECT_STATUS_DRAFT) &&
{ refCode }