fixes
This commit is contained in:
parent
8e23a0f1bd
commit
5c8e9f41bf
2 changed files with 3 additions and 9 deletions
|
@ -89,7 +89,7 @@ const bindShowCardListeners = (topic, ActiveMapper) => {
|
|||
}
|
||||
}
|
||||
|
||||
class Links extends Component {
|
||||
class Metacode extends Component {
|
||||
componentDidMount = () => {
|
||||
bindShowCardListeners(this.props.topic, this.props.ActiveMapper)
|
||||
}
|
||||
|
@ -112,13 +112,11 @@ class Links extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
Links.propTypes = {
|
||||
Metacode.propTypes = {
|
||||
topic: PropTypes.object, // backbone object
|
||||
metacode: PropTypes.object, // backbone object
|
||||
ActiveMapper: PropTypes.object,
|
||||
updateTopic: PropTypes.func
|
||||
}
|
||||
|
||||
export default Links
|
||||
|
||||
|
||||
export default Metacode
|
||||
|
|
|
@ -11,10 +11,6 @@ class Permission extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
componentDidMount = () => {
|
||||
bindShowCardListeners(this.props.topic, this.props.ActiveMapper, this)
|
||||
}
|
||||
|
||||
togglePermissionSelect = () => {
|
||||
this.setState({selectingPermission: !this.state.selectingPermission})
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue