@ -34,7 +34,7 @@ class ExerciseBanksDetail extends Component{
id: Id,
is_public: result.data.exercise && result.data.exercise.is_public,
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);
@ -45,7 +45,7 @@ class PollBanksContent extends Component{
id:bankId,
is_public:result.data.poll && result.data.poll.is_public,
this.setState({