mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
undo one of the "fixes"
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
709b2eed7c
commit
ac1d9b03bf
1 changed files with 2 additions and 3 deletions
|
@ -34,13 +34,12 @@ module.exports = createReactClass({
|
|||
|
||||
getInitialState: function() {
|
||||
return {
|
||||
// convert to Boolean to protect against null-capable "tri-state" Settings e.g fallbackICEServerAllowed
|
||||
value: Boolean(SettingsStore.getValueAt(
|
||||
value: SettingsStore.getValueAt(
|
||||
this.props.level,
|
||||
this.props.name,
|
||||
this.props.roomId,
|
||||
this.props.isExplicit,
|
||||
)),
|
||||
),
|
||||
};
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue