diff --git a/public/react/src/modules/courses/exercise/new/SingleDisplay.js b/public/react/src/modules/courses/exercise/new/SingleDisplay.js index 453cce229..4018fcbbe 100644 --- a/public/react/src/modules/courses/exercise/new/SingleDisplay.js +++ b/public/react/src/modules/courses/exercise/new/SingleDisplay.js @@ -54,7 +54,7 @@ class SingleDisplay extends Component{ } render() { let { question_title, question_score, question_type, question_choices, standard_answer, - question_id, question_number, index, displayCount + question_id, question_number, index, displayCount, showActionButton } = this.props; // const { getFieldDecorator } = this.props.form; @@ -70,6 +70,9 @@ class SingleDisplay extends Component{ // const answerTagArray = standard_answer.map((item, index) => { return item == true ? tagArray[index] : -1 }).filter(item => item != -1); let length = 5; const qName = qNameArray[question_type] + + const isPreviewPage = showActionButton == false + return(