Skip to content

Commit eb90b7f

Browse files
authored
Merge pull request #4463 from PrakashDurlabhji/issue_4428
Issue 4428 fix
2 parents fa4908d + d230f8d commit eb90b7f

File tree

1 file changed

+4
-1
lines changed
  • src/shared/components/challenge-detail/Specification/SideBar

1 file changed

+4
-1
lines changed

src/shared/components/challenge-detail/Specification/SideBar/index.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export default function SideBar({
172172
)
173173
}
174174
{
175-
screeningScorecardId && screeningScorecardId.length > 0
175+
screeningScorecardId > 0
176176
&& (
177177
<p styleName="link-like-paragraph">
178178
<a href={`${scorecardURL}${screeningScorecardId}`}>
@@ -182,6 +182,8 @@ export default function SideBar({
182182
)
183183
}
184184
{
185+
reviewScorecardId > 0 && !isDesign
186+
&& (
185187
<span styleName="link-like-paragraph tooltip-container">
186188
<a href={`${scorecardURL}${reviewScorecardId}`}>
187189
Review Scorecard
@@ -192,6 +194,7 @@ export default function SideBar({
192194
</div>
193195
</Tooltip>
194196
</span>
197+
)
195198
}
196199
</div>
197200
)

0 commit comments

Comments
 (0)