Support URL previews (with bugs)
Known issues at this point: * The room-level setting accepts the current user's default, which is wrong * The checkboxes on RoomSettings are not independent * The checkboxes in RoomSettings need some layout fixes Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
9fdc1be7bd
commit
786bd87fec
9 changed files with 107 additions and 197 deletions
|
@ -44,7 +44,7 @@ module.exports = React.createClass({
|
|||
let val = SettingsStore.getValueAt(this.props.level, this.props.name, this.props.roomId);
|
||||
|
||||
let label = this.props.label;
|
||||
if (!label) label = SettingsStore.getDisplayName(this.props.name);
|
||||
if (!label) label = SettingsStore.getDisplayName(this.props.name, this.props.level);
|
||||
else label = _t(label);
|
||||
|
||||
let id = this.props.name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue