|
|
|
@ -167,7 +167,12 @@ class CommonWorkSetting extends Component{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
on('commonwork_fetch_all', this.fetchAllListener)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(this.props.isAdmin()===true){
|
|
|
|
|
this.setState({startEditFlag: true})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
componentWillUnmount() {
|
|
|
|
|
off('commonwork_fetch_all', this.fetchAllListener)
|
|
|
|
|
}
|
|
|
|
|