fix NPE
This commit is contained in:
@@ -86,7 +86,7 @@ module.exports = React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
getTopic: function() {
|
getTopic: function() {
|
||||||
return this.refs.topic.value;
|
return this.refs.topic ? this.refs.topic.value : "";
|
||||||
},
|
},
|
||||||
|
|
||||||
getJoinRules: function() {
|
getJoinRules: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user