mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
fix NPE
This commit is contained in:
parent
1b7d80a8cd
commit
05c7891874
@ -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…
x
Reference in New Issue
Block a user