diff --git a/src/components/views/room_settings/AliasSettings.js b/src/components/views/room_settings/AliasSettings.js index 19e18fed48..34b6083c30 100644 --- a/src/components/views/room_settings/AliasSettings.js +++ b/src/components/views/room_settings/AliasSettings.js @@ -289,19 +289,21 @@ module.exports = React.createClass({ ); })} -
- -
- Add -
-
+ { this.props.canSetAliases ? +
+ +
+ Add +
+
: "" + } { remote_aliases_section } diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js index 74b326e987..80f927c89a 100644 --- a/src/components/views/rooms/RoomSettings.js +++ b/src/components/views/rooms/RoomSettings.js @@ -471,9 +471,8 @@ module.exports = React.createClass({ var tagsSection =
- Tagged as: { canSetTag ? - tags.map(function(tag, i) { + ("Tagged as: " + tags.map(function(tag, i) { return (); - }) : (self.state.tags && self.state.tags.join) ? self.state.tags.join(", ") : "None" + })) : (self.state.tags && self.state.tags.join) ? ("Tagged as: " +self.state.tags.join(", ")) : "" }