fix NPE
This commit is contained in:
parent
1b7d80a8cd
commit
05c7891874
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ module.exports = React.createClass({
|
|||
},
|
||||
|
||||
getTopic: function() {
|
||||
return this.refs.topic.value;
|
||||
return this.refs.topic ? this.refs.topic.value : "";
|
||||
},
|
||||
|
||||
getJoinRules: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue