|
|
@ -55,7 +55,6 @@ class CoursesBanner extends Component {
|
|
|
|
let courseId = this.props.match.params.coursesId;
|
|
|
|
let courseId = this.props.match.params.coursesId;
|
|
|
|
let url = "/courses/" + courseId + "/top_banner.json"
|
|
|
|
let url = "/courses/" + courseId + "/top_banner.json"
|
|
|
|
axios.get(url).then((result) => {
|
|
|
|
axios.get(url).then((result) => {
|
|
|
|
debugger
|
|
|
|
|
|
|
|
if( result!=undefined){
|
|
|
|
if( result!=undefined){
|
|
|
|
let data = result.data;
|
|
|
|
let data = result.data;
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|