From 2c359d03284d1b83c268fdaf7701525f051637da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com>
Date: Thu, 18 Jul 2019 16:14:24 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../courses/coursesDetail/CoursesLeftNav.js | 26 +-
.../courses/coursesPublic/AccessoryModal2.js | 2 +-
.../exercise/Exercisestatisticalresult.js | 14 +-
.../graduation/tasks/GraduateTaskItem.js | 2 +-
.../modules/courses/graduation/tasks/index.js | 2 +-
.../graduation/topics/GraduateTopicDetail.js | 324 +++++++++---------
.../src/modules/courses/new/CoursesNew.js | 16 +
.../courses/shixunHomework/CommitSummary.js | 2 +-
.../shixunHomework/Trainingjobsetting.js | 4 +-
.../src/modules/login/Trialapplication.js | 4 +-
.../paths/PathDetail/DetailCardsTemp.js | 324 +++++++++---------
public/react/src/modules/tpm/TPMBanner.js | 4 +-
.../tpm/challengesnew/TPMchallengesnew.js | 7 -
.../tpm/challengesnew/TpmQuestionEdit.js | 15 +-
.../tpm/challengesnew/TpmQuestionNew.js | 8 +-
.../src/modules/user/FindPasswordComponent.js | 2 +-
16 files changed, 384 insertions(+), 372 deletions(-)
diff --git a/public/react/src/modules/courses/coursesDetail/CoursesLeftNav.js b/public/react/src/modules/courses/coursesDetail/CoursesLeftNav.js
index 9d50426e8..2a395200c 100644
--- a/public/react/src/modules/courses/coursesDetail/CoursesLeftNav.js
+++ b/public/react/src/modules/courses/coursesDetail/CoursesLeftNav.js
@@ -358,6 +358,7 @@ class Coursesleftnav extends Component{
navid:undefined,
sandiantype:undefined,
twosandiantype:undefined,
+ ModalsType:false
})
let url="/course_modules/"+id+"/hidden_module.json"
@@ -379,12 +380,25 @@ class Coursesleftnav extends Component{
edithidden=(e,id)=>{
e.stopPropagation();//阻止冒泡
- this.setState({
- ModalsType:true,
- Modalstopval:"隐藏后将不再显示此模块,",
- ModalsBottomval:"后续可通过添加模块恢复显示",
- ModalSave:()=>this.edithiddens(id),
- })
+ let {course_modules}=this.props;
+
+ if(course_modules.length>1){
+ this.setState({
+ ModalsType:true,
+ Modalstopval:"隐藏后将不再显示此模块,",
+ ModalsBottomval:"后续可通过添加模块恢复显示",
+ ModalSave:()=>this.edithiddens(id),
+ })
+ }else{
+ this.setState({
+ ModalsType:true,
+ Modalstopval:"您不能隐藏所有课堂模块,请至少保留",
+ ModalsBottomval:"其中一个模块。",
+ loadtype:true,
+ ModalSave:()=>this.cannerNavmoda(),
+ })
+ }
+
}
Navmodalnames=(e,id,type,setnavid,name)=>{
diff --git a/public/react/src/modules/courses/coursesPublic/AccessoryModal2.js b/public/react/src/modules/courses/coursesPublic/AccessoryModal2.js
index 14b1f71e1..9019fe7a1 100644
--- a/public/react/src/modules/courses/coursesPublic/AccessoryModal2.js
+++ b/public/react/src/modules/courses/coursesPublic/AccessoryModal2.js
@@ -135,7 +135,7 @@ class AccessoryModal2 extends Component{
description:description,
attachment_ids:newfileList
}).then((result)=>{
- console.log(result)
+ // console.log(result)
if(result.data.status===0){
this.props.setupdate()
this.setState({
diff --git a/public/react/src/modules/courses/exercise/Exercisestatisticalresult.js b/public/react/src/modules/courses/exercise/Exercisestatisticalresult.js
index 6a7f1c505..fb03835f6 100644
--- a/public/react/src/modules/courses/exercise/Exercisestatisticalresult.js
+++ b/public/react/src/modules/courses/exercise/Exercisestatisticalresult.js
@@ -42,7 +42,7 @@ class Exercisestatisticalresult extends Component {
limit:limit
}
}).then((result) => {
- console.log(result)
+ // console.log(result)
this.setState({
data:result.data
@@ -85,6 +85,10 @@ class Exercisestatisticalresult extends Component {
page:pageNumber
})
+ debugger
+ $('html').animate({
+ scrollTop: 10
+ }, 1000);
this.updatefun(sort,exercise_group_id,pageNumber,limit)
}
@@ -109,10 +113,10 @@ class Exercisestatisticalresult extends Component {
-
分班情况:
-
- this.funtaskstatustwo(e,data&&data.course_groups)} value={this.state.exercise_group_id} style={{paddingTop: '4px'}}>
+
+
+
+ this.funtaskstatustwo(e,data&&data.course_groups)} value={this.state.exercise_group_id} style={{width:'87%',paddingTop: '4px'}}>
{ data&&data.course_groups.map((item, key) => {
return (
diff --git a/public/react/src/modules/courses/graduation/tasks/GraduateTaskItem.js b/public/react/src/modules/courses/graduation/tasks/GraduateTaskItem.js
index 892a8d599..cf66b918a 100644
--- a/public/react/src/modules/courses/graduation/tasks/GraduateTaskItem.js
+++ b/public/react/src/modules/courses/graduation/tasks/GraduateTaskItem.js
@@ -83,7 +83,7 @@ class GraduateTaskItem extends Component{
axios.post(url,{
project_id:taskid
}).then((result)=>{
- console.log(result)
+ // console.log(result)
if(result.data.status===0){
this.setState({
Modalstype:true,
diff --git a/public/react/src/modules/courses/graduation/tasks/index.js b/public/react/src/modules/courses/graduation/tasks/index.js
index 5eaccfb5e..0a4bd47b4 100644
--- a/public/react/src/modules/courses/graduation/tasks/index.js
+++ b/public/react/src/modules/courses/graduation/tasks/index.js
@@ -651,7 +651,7 @@ debugger
: ""}
- {this.props.isAdmin() ?this.useBankSuccess()}>:""}
+ {this.props.isAdmin() ?this.useBankSuccess=(checkBoxValues,object_ids)}>:""}
}
diff --git a/public/react/src/modules/courses/graduation/topics/GraduateTopicDetail.js b/public/react/src/modules/courses/graduation/topics/GraduateTopicDetail.js
index 06bccde67..be3ff7a30 100644
--- a/public/react/src/modules/courses/graduation/topics/GraduateTopicDetail.js
+++ b/public/react/src/modules/courses/graduation/topics/GraduateTopicDetail.js
@@ -1,163 +1,163 @@
-import React,{ Component } from "react";
-import { Input, Checkbox, Menu, Pagination,Table } from "antd";
-
-import '../../css/members.css'
-import '../../css/busyWork.css'
-import '../style.css'
-
-import { WordsBtn } from 'educoder'
-import NoneData from '../../coursesPublic/NoneData'
-import axios from 'axios'
-import DetailTable from './GraduateTopicDetailTable'
-import DetailInfo from './GraduateTopicDetailInfo'
-import CoursesListType from '../../coursesPublic/CoursesListType';
-
-
-
-class GraduateTopicDetail extends Component{
- constructor(props){
- super(props);
- this.state={
- tableData:[],
- tablePage:1,
- tablePageSize:15,
- tab:1
- }
- }
-
- componentDidMount(){
- let{tablePage}=this.state;
- this.getDetailList(tablePage);
- }
- // 获取详情列表
- getDetailList=(page)=>{
- let course_id=this.props.match.params.course_id;
- let graduation_topic_id=this.props.match.params.graduation_topic_id;
-
- let{tablePageSize}=this.state;
- let url=`/courses/${course_id}/graduation_topics/${graduation_topic_id}.json?page=`+page+`&limit=`+tablePageSize;
-
- axios.get(url).then((result)=>{
- if(result.status==200){
- this.setState({
- tableData:result.data
- })
- }
- }).catch((error)=>{
- console.log(error);
- })
- }
- //详情列表翻页
- changeTablePag=(pageNumber)=>{
- this.setState({
- tablePage:pageNumber
- })
- this.getDetailList(pageNumber);
- }
-
- // 切换tab
- onChangeStatus=(e)=>{
- this.setState({
- tab:e.key
- })
- }
-
- actionTopic=()=>{
- let graduation_topic_id=this.props.match.params.graduation_topic_id;
- let course_id=this.props.match.params.course_id;
- let {tableData}=this.state;
-
- this.props.confirm({
- content: tableData.user_selected_topic==0?`是否确认取消选题?`:"是否确认选题?",
- onOk: () => {
- let url="/courses/"+course_id+"/graduation_topics/"+graduation_topic_id+"/"
- if(tableData.user_selected_topic==0){
- url+="student_cancel_topic.json"
- }else if(tableData.user_selected_topic==null || tableData.user_selected_topic==2){
- url+="student_select_topic.json"
- }
- axios.post((url)).then((result)=>{
- console.log(result);
- if(result.data.status == 0){
- this.getDetailList();
- this.props.showNotification(`${result.data.message}`);
- }
- }).catch((error)=>{
- console.log(error);
- })
- }
- })
- }
-
- render(){
- let {
- tableData,
- tablePage,
- tablePageSize,
- tab,
- }=this.state
- let {course_id,graduation_topic_id}=this.props.match.params;
- const isStudent =this.props.isStudent();
- const isAdmin =this.props.isAdmin();
-
- return(
-
-
-
- {tableData && tableData.course_name}
- >
- {tableData.graduation_name}
- >
- 选题详情
-
-
- {tableData && tableData.graduation_topic_name}
-
- this.props.history.goBack()}>返回
-
-
-
-
-
-
- {/* null: 未选题 0:待确认 1:已同意 2:已拒绝 */}
- {
- isStudent && tableData.user_selected == false && (tableData.user_selected_topic==null || tableData.user_selected_topic==2) &&
-
选题
- }
- {
- isStudent && tableData.user_selected == true && tableData.user_selected_topic==0 &&
-
取消选题
- }
- {
- isAdmin &&
编辑
- }
-
- {
- tab && tab==1&&
-
-
-
-
- {
- tableData && tableData.users_count>tablePageSize &&
-
- }
-
- }
- {
- tab && tab==2&&
-
- }
-
-
-
- )
- }
-}
+import React,{ Component } from "react";
+import { Input, Checkbox, Menu, Pagination,Table } from "antd";
+
+import '../../css/members.css'
+import '../../css/busyWork.css'
+import '../style.css'
+
+import { WordsBtn } from 'educoder'
+import NoneData from '../../coursesPublic/NoneData'
+import axios from 'axios'
+import DetailTable from './GraduateTopicDetailTable'
+import DetailInfo from './GraduateTopicDetailInfo'
+import CoursesListType from '../../coursesPublic/CoursesListType';
+
+
+
+class GraduateTopicDetail extends Component{
+ constructor(props){
+ super(props);
+ this.state={
+ tableData:[],
+ tablePage:1,
+ tablePageSize:15,
+ tab:1
+ }
+ }
+
+ componentDidMount(){
+ let{tablePage}=this.state;
+ this.getDetailList(tablePage);
+ }
+ // 获取详情列表
+ getDetailList=(page)=>{
+ let course_id=this.props.match.params.course_id;
+ let graduation_topic_id=this.props.match.params.graduation_topic_id;
+
+ let{tablePageSize}=this.state;
+ let url=`/courses/${course_id}/graduation_topics/${graduation_topic_id}.json?page=`+page+`&limit=`+tablePageSize;
+
+ axios.get(url).then((result)=>{
+ if(result.status==200){
+ this.setState({
+ tableData:result.data
+ })
+ }
+ }).catch((error)=>{
+ console.log(error);
+ })
+ }
+ //详情列表翻页
+ changeTablePag=(pageNumber)=>{
+ this.setState({
+ tablePage:pageNumber
+ })
+ this.getDetailList(pageNumber);
+ }
+
+ // 切换tab
+ onChangeStatus=(e)=>{
+ this.setState({
+ tab:e.key
+ })
+ }
+
+ actionTopic=()=>{
+ let graduation_topic_id=this.props.match.params.graduation_topic_id;
+ let course_id=this.props.match.params.course_id;
+ let {tableData}=this.state;
+
+ this.props.confirm({
+ content: tableData.user_selected_topic==0?`是否确认取消选题?`:"是否确认选题?",
+ onOk: () => {
+ let url="/courses/"+course_id+"/graduation_topics/"+graduation_topic_id+"/"
+ if(tableData.user_selected_topic==0){
+ url+="student_cancel_topic.json"
+ }else if(tableData.user_selected_topic==null || tableData.user_selected_topic==2){
+ url+="student_select_topic.json"
+ }
+ axios.post((url)).then((result)=>{
+ // console.log(result);
+ if(result.data.status == 0){
+ this.getDetailList();
+ this.props.showNotification(`${result.data.message}`);
+ }
+ }).catch((error)=>{
+ console.log(error);
+ })
+ }
+ })
+ }
+
+ render(){
+ let {
+ tableData,
+ tablePage,
+ tablePageSize,
+ tab,
+ }=this.state
+ let {course_id,graduation_topic_id}=this.props.match.params;
+ const isStudent =this.props.isStudent();
+ const isAdmin =this.props.isAdmin();
+
+ return(
+
+
+
+ {tableData && tableData.course_name}
+ >
+ {tableData.graduation_name}
+ >
+ 选题详情
+
+
+ {tableData && tableData.graduation_topic_name}
+
+ this.props.history.goBack()}>返回
+
+
+
+
+
+
+ {/* null: 未选题 0:待确认 1:已同意 2:已拒绝 */}
+ {
+ isStudent && tableData.user_selected == false && (tableData.user_selected_topic==null || tableData.user_selected_topic==2) &&
+
选题
+ }
+ {
+ isStudent && tableData.user_selected == true && tableData.user_selected_topic==0 &&
+
取消选题
+ }
+ {
+ isAdmin &&
编辑
+ }
+
+ {
+ tab && tab==1&&
+
+
+
+
+ {
+ tableData && tableData.users_count>tablePageSize &&
+
+ }
+
+ }
+ {
+ tab && tab==2&&
+
+ }
+
+
+
+ )
+ }
+}
export default GraduateTopicDetail;
\ No newline at end of file
diff --git a/public/react/src/modules/courses/new/CoursesNew.js b/public/react/src/modules/courses/new/CoursesNew.js
index 47170a722..f3442b8b7 100644
--- a/public/react/src/modules/courses/new/CoursesNew.js
+++ b/public/react/src/modules/courses/new/CoursesNew.js
@@ -118,6 +118,8 @@ class CoursesNew extends Component {
window.scrollTo(0, anchorElement.offsetTop - window.innerHeight / 2);
}
}
+
+
handleSubmit = (e) => {
e.preventDefault();
@@ -146,8 +148,22 @@ class CoursesNew extends Component {
}
+ if(values.checkboxgroup.length===0){
+ this.setState({
+ Modalstype:true,
+ Modalstopval:"请您至少添加一个课堂模块,",
+ ModalsBottomval:"否则您将无法新建课堂。",
+ Loadtype:true,
+ ModalSave:()=>this.cancelmodel(),
+ })
+ return
+ }
+
if (!err) {
+
+
+
// console.log('Received values of form: ', values);
let {datatime} = this.state;
let url = "/courses/" + coursesId + ".json";
diff --git a/public/react/src/modules/courses/shixunHomework/CommitSummary.js b/public/react/src/modules/courses/shixunHomework/CommitSummary.js
index 702546191..0be2e3b34 100644
--- a/public/react/src/modules/courses/shixunHomework/CommitSummary.js
+++ b/public/react/src/modules/courses/shixunHomework/CommitSummary.js
@@ -47,7 +47,7 @@ class CommitSummary extends Component{
// console.log(worksid);
var url = `/student_works/${worksid}/commit_des.json`;
axios.get(url).then((result) => {
- console.log(result);
+ // console.log(result);
if (result.status === 200) {
// console.log(url)
// console.log("提交总结接口")
diff --git a/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js b/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js
index d10d4db22..bbd503e9e 100644
--- a/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js
+++ b/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js
@@ -149,8 +149,8 @@ class Trainingjobsetting extends Component {
// console.log(homeworkid)
let url = `/homework_commons/${homeworkid}/settings.json`;
axios.get(url).then((result) => {
- console.log(url);
- console.log(result);
+ // console.log(url);
+ // console.log(result);
if (result!=undefined) {
this.props.Getdataback(result,result.data);
// console.log(result.data.code_review)
diff --git a/public/react/src/modules/login/Trialapplication.js b/public/react/src/modules/login/Trialapplication.js
index f93e102ad..fafd809fd 100644
--- a/public/react/src/modules/login/Trialapplication.js
+++ b/public/react/src/modules/login/Trialapplication.js
@@ -200,7 +200,7 @@ class Trialapplication extends Component {
}
}).then((result) => {
//验证有问题{"status":1,"message":"success"}
- console.log(result);
+ // console.log(result);
}).catch((error) => {
@@ -357,7 +357,7 @@ class Trialapplication extends Component {
}
}).then((result) => {
//验证有问题{"status":1,"message":"success"}
- console.log(result);
+ // console.log(result);
}).catch((error) => {
diff --git a/public/react/src/modules/paths/PathDetail/DetailCardsTemp.js b/public/react/src/modules/paths/PathDetail/DetailCardsTemp.js
index bd1630ae7..4acc28a48 100644
--- a/public/react/src/modules/paths/PathDetail/DetailCardsTemp.js
+++ b/public/react/src/modules/paths/PathDetail/DetailCardsTemp.js
@@ -1,163 +1,163 @@
-import React, { Component } from 'react';
-import {getImageUrl} from 'educoder';
-import '../../paths/ShixunPaths.css';
-import DetailCardsEditAndAdd from './DetailCardsEditAndAdd';
-import axios from 'axios';
-
-import { DragDropContext, Droppable, Draggable } from "react-beautiful-dnd";
-
-const reorder = (list, startIndex, endIndex) => {
- const result = Array.from(list);
- const [removed] = result.splice(startIndex, 1);
- result.splice(endIndex, 0, removed);
-
- return result;
-};
-
-const $ = window.$
-class DetailCards extends Component{
- constructor(props){
- super(props)
- this.state={
- pathCardsList:undefined
- }
- }
-
- getPathCardsList(){
- let pathid = this.props.match.params.PathId
- // let pathid= 28;
- let url=`/stages.json?subject_id=`+pathid;
- axios.get(url).then((result)=>{
- if(result.status===200){
- this.setState({
- pathCardsList:result.data.stages
- })
- }
- }).catch((error)=>{
- console.log(error);
- })
- }
-
-
- for_paragraph = (index) =>{
- $("#detail_for_paragraph_"+index).slideToggle(500);
- }
-
- componentDidMount(){
- this.getPathCardsList();
- }
- onDragEnd = (result, shixunIndex) => {
- console.log(result)
-
- // dropped outside the list
- if (!result.destination) {
- console.log('dropped outside the list')
-
- return;
- }
- if (result.destination.index === result.source.index) {
- console.log('the same')
- return;
- }
- // TODO exchange axios request
-
- const shixuns_list = reorder(
- this.state.pathCardsList[shixunIndex].shixuns_list,
- result.source.index,
- result.destination.index
- );
- const pathCardsList = this.state.pathCardsList
- pathCardsList[shixunIndex].shixuns_list = shixuns_list;
- this.setState({
- pathCardsList
- });
- }
- render(){
- let { pathCardsList }=this.state;
- return(
-
-
- {
- pathCardsList && pathCardsList.map((item,key)=>{
- return(
-
-
-
-
-
- {item.stage_name}
-
-
-
-
-
-
-
-
-
-
-
-
{item.stage_description}
-
- {/*
- 两个 ref={provided.innerRef}
- item 加 {...provided.draggableProps}
- handler 加 {...provided.dragHandleProps}
- */}
-
this.onDragEnd(result, key)}>
-
- {(provided, snapshot) => (
-
- {
- item.shixuns_list && item.shixuns_list.map((line,index)=>{
- return(
-
- {(provided, snapshot) => (
-
-
-
-
- {
- line.complete_status === 1 ?
- :
- }
-
-
- {key+1}-{index+1} {line.shixun_name}
-
- {
- line.shixun_status==="暂未公开"?
-
- 暂未公开
- :
-
-
-
- drag
-
- 查看详情
- 开始实战
-
-
- }
-
- )}
-
- )
- })
- }
-
- )}
-
-
-
-
-
- )
- })
- }
-
-
-
- )
- }
-}
+import React, { Component } from 'react';
+import {getImageUrl} from 'educoder';
+import '../../paths/ShixunPaths.css';
+import DetailCardsEditAndAdd from './DetailCardsEditAndAdd';
+import axios from 'axios';
+
+import { DragDropContext, Droppable, Draggable } from "react-beautiful-dnd";
+
+const reorder = (list, startIndex, endIndex) => {
+ const result = Array.from(list);
+ const [removed] = result.splice(startIndex, 1);
+ result.splice(endIndex, 0, removed);
+
+ return result;
+};
+
+const $ = window.$
+class DetailCards extends Component{
+ constructor(props){
+ super(props)
+ this.state={
+ pathCardsList:undefined
+ }
+ }
+
+ getPathCardsList(){
+ let pathid = this.props.match.params.PathId
+ // let pathid= 28;
+ let url=`/stages.json?subject_id=`+pathid;
+ axios.get(url).then((result)=>{
+ if(result.status===200){
+ this.setState({
+ pathCardsList:result.data.stages
+ })
+ }
+ }).catch((error)=>{
+ console.log(error);
+ })
+ }
+
+
+ for_paragraph = (index) =>{
+ $("#detail_for_paragraph_"+index).slideToggle(500);
+ }
+
+ componentDidMount(){
+ this.getPathCardsList();
+ }
+ onDragEnd = (result, shixunIndex) => {
+ // console.log(result)
+
+ // dropped outside the list
+ if (!result.destination) {
+ console.log('dropped outside the list')
+
+ return;
+ }
+ if (result.destination.index === result.source.index) {
+ console.log('the same')
+ return;
+ }
+ // TODO exchange axios request
+
+ const shixuns_list = reorder(
+ this.state.pathCardsList[shixunIndex].shixuns_list,
+ result.source.index,
+ result.destination.index
+ );
+ const pathCardsList = this.state.pathCardsList
+ pathCardsList[shixunIndex].shixuns_list = shixuns_list;
+ this.setState({
+ pathCardsList
+ });
+ }
+ render(){
+ let { pathCardsList }=this.state;
+ return(
+
+
+ {
+ pathCardsList && pathCardsList.map((item,key)=>{
+ return(
+
+
+
+
+
+ {item.stage_name}
+
+
+
+
+
+
+
+
+
+
+
+
{item.stage_description}
+
+ {/*
+ 两个 ref={provided.innerRef}
+ item 加 {...provided.draggableProps}
+ handler 加 {...provided.dragHandleProps}
+ */}
+
this.onDragEnd(result, key)}>
+
+ {(provided, snapshot) => (
+
+ {
+ item.shixuns_list && item.shixuns_list.map((line,index)=>{
+ return(
+
+ {(provided, snapshot) => (
+
+
-
+
+ {
+ line.complete_status === 1 ?
+ :
+ }
+
+
+ {key+1}-{index+1} {line.shixun_name}
+
+ {
+ line.shixun_status==="暂未公开"?
+
- 暂未公开
+ :
+
+
-
+ drag
+
+ 查看详情
+ 开始实战
+
+
+ }
+
+ )}
+
+ )
+ })
+ }
+
+ )}
+
+
+
+
+
+ )
+ })
+ }
+
+
+
+ )
+ }
+}
export default DetailCards;
\ No newline at end of file
diff --git a/public/react/src/modules/tpm/TPMBanner.js b/public/react/src/modules/tpm/TPMBanner.js
index c82ca237e..c9404a792 100644
--- a/public/react/src/modules/tpm/TPMBanner.js
+++ b/public/react/src/modules/tpm/TPMBanner.js
@@ -926,8 +926,8 @@ class TPMBanner extends Component {
className="task-popup-text-center font-16 pb20">{can_fork}
请问是否前往进行认证?
{!!shixunsDetails.fork_num &&
diff --git a/public/react/src/modules/tpm/challengesnew/TPMchallengesnew.js b/public/react/src/modules/tpm/challengesnew/TPMchallengesnew.js
index b498d441f..9ab807391 100644
--- a/public/react/src/modules/tpm/challengesnew/TPMchallengesnew.js
+++ b/public/react/src/modules/tpm/challengesnew/TPMchallengesnew.js
@@ -518,13 +518,6 @@ debugger
>
*
-