mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Test settings later for performance
This commit is contained in:
parent
6a3708d51b
commit
24209905e8
@ -483,8 +483,8 @@ module.exports = withMatrixClient(React.createClass({
|
||||
|
||||
getReactions() {
|
||||
if (
|
||||
!SettingsStore.isFeatureEnabled("feature_reactions") ||
|
||||
!this.props.getRelationsForEvent
|
||||
!this.props.getRelationsForEvent ||
|
||||
!SettingsStore.isFeatureEnabled("feature_reactions")
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user