Skip to content

Commit

Permalink
Merge pull request #5997 from topcoder-platform/develop
Browse files Browse the repository at this point in the history
Self-service prod release
  • Loading branch information
ThomasKranitsas authored Feb 2, 2022
2 parents e668e45 + 35ac4a0 commit 17a23da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default function ChallengeTags(props) {
{
isSelfService && (
<DevelopmentTrackTag>
<span>Customer Self-Service</span>
<span>On Demand</span>
</DevelopmentTrackTag>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export default function ChallengeDetailsView(props) {
reviewScorecardId,
screeningScorecardId,
forumId,
selfService,
} = legacy;

let stockArtValue = '';
Expand Down Expand Up @@ -173,7 +174,7 @@ export default function ChallengeDetailsView(props) {
<div styleName="challenge-specifications">
<div styleName={`challenge-specs-main ${accentedStyle}`}>
{
track.toLowerCase() !== 'design'
track.toLowerCase() !== 'design' && !selfService
? (
<div>
{
Expand Down Expand Up @@ -434,6 +435,7 @@ ChallengeDetailsView.propTypes = {
reviewScorecardId: PT.oneOfType([PT.string, PT.number]),
screeningScorecardId: PT.string,
forumId: PT.number,
selfService: PT.bool,
}),
track: PT.string.isRequired,
legacyId: PT.oneOfType([PT.string, PT.number]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function ChallengeCard({
{
_.get(challenge, 'legacy.selfService') && (
<DevelopmentTrackTag>
<span>Customer Self-Service</span>
<span>On Demand</span>
</DevelopmentTrackTag>
)
}
Expand Down

0 comments on commit 17a23da

Please sign in to comment.