mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-23 07:21:22 +02:00
This commit is contained in:
parent
c34edbec3e
commit
957aa0403d
@ -86,7 +86,7 @@ module.exports = React.createClass({
|
|||||||
_roomNameElement: function(fallback) {
|
_roomNameElement: function(fallback) {
|
||||||
fallback = fallback || 'a room';
|
fallback = fallback || 'a room';
|
||||||
const name = this.props.room ? this.props.room.name : (this.props.room_alias || "");
|
const name = this.props.room ? this.props.room.name : (this.props.room_alias || "");
|
||||||
return name ? { name } : fallback;
|
return name ? name : fallback;
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user