|
|
@ -34,7 +34,7 @@ class ExerciseBanksDetail extends Component{
|
|
|
|
id: Id,
|
|
|
|
id: Id,
|
|
|
|
is_public: result.data.exercise && result.data.exercise.is_public,
|
|
|
|
is_public: result.data.exercise && result.data.exercise.is_public,
|
|
|
|
type:this.props.match.params.type,
|
|
|
|
type:this.props.match.params.type,
|
|
|
|
authorize:response && response.data && response.data.authorize,
|
|
|
|
authorize:result && result.data && result.data.authorize,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.props.initPublic(crumbData,menuData);
|
|
|
|
this.props.initPublic(crumbData,menuData);
|
|
|
|
}
|
|
|
|
}
|
|
|
|