Skip to content

Commit 4426ce1

Browse files
authored
Merge pull request #4464 from PrakashDurlabhji/issue_4450
Issue 4450 fix
2 parents 9fd71cd + ed61c72 commit 4426ce1

File tree

1 file changed

+2
-39
lines changed
  • src/shared/components/challenge-detail/Specification

1 file changed

+2
-39
lines changed

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

+2-39
Original file line numberDiff line numberDiff line change
@@ -211,46 +211,9 @@ export default function ChallengeDetailsView(props) {
211211
: (
212212
<div>
213213
{
214-
privateDescription
215-
&& (
216-
<article>
217-
<h2 styleName="h2">
218-
Challenge Details
219-
</h2>
220-
{
221-
editMode ? (
222-
<Editor
223-
connector={toolbarConnector}
224-
id="privateDescription"
225-
initialMode={EDITOR_MODES.WYSIWYG}
226-
ref={n => n && n.setHtml(privateDescription)}
227-
/>
228-
) : (
229-
<SpecificationComponent
230-
bodyText={privateDescription}
231-
format={descriptionFormat}
232-
/>
233-
)
234-
}
235-
<p styleName="p" />
236-
<p styleName="p note">
237-
Please read the challenge specification carefully and
238-
watch the forums for any questions or feedback
239-
concerning this challenge. It is important that you
240-
monitor any updates provided by the client or Studio
241-
Admins in the forums. Please post any questions you
242-
might have for the client in the forums.
243-
</p>
244-
</article>
245-
)
246-
}
247-
{
248-
privateDescription
214+
description
249215
&& (
250216
<article>
251-
<h2 styleName="h2">
252-
Full Description & Project Guide
253-
</h2>
254217
{
255218
editMode ? (
256219
<Editor
@@ -261,7 +224,7 @@ export default function ChallengeDetailsView(props) {
261224
/>
262225
) : (
263226
<SpecificationComponent
264-
bodyText={privateDescription}
227+
bodyText={description}
265228
format={descriptionFormat}
266229
/>
267230
)

0 commit comments

Comments
 (0)