diff --git a/webapp/pages/board.jsx b/webapp/pages/board.jsx index 10e06b4..1afee67 100644 --- a/webapp/pages/board.jsx +++ b/webapp/pages/board.jsx @@ -29,7 +29,9 @@ module.exports = function(boardsAPI){ }) if(this.props.params.userid){ ee.on('whitelist for '+this.props.params.boardname+'@'+this.props.params.userid,(whitelist) => { - if(this.isMounted()) this.setState({ whitelist }) + if(this.isMounted()) + this.setState({ whitelist }) + else return true }) ee.on('settings for '+this.props.params.boardname+'@'+this.props.params.userid, (res) => { if(!this.isMounted()) return true