From e9ce7f97f556021b44becf7a700a37d43072d833 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Tue, 24 Oct 2017 17:57:26 +0100 Subject: [PATCH] canSetRelatedRooms -> canSetRelatedGroups --- src/components/views/room_settings/RelatedGroupSettings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/views/room_settings/RelatedGroupSettings.js b/src/components/views/room_settings/RelatedGroupSettings.js index ed2dd99db7..0a2dc3341c 100644 --- a/src/components/views/room_settings/RelatedGroupSettings.js +++ b/src/components/views/room_settings/RelatedGroupSettings.js @@ -27,7 +27,7 @@ module.exports = React.createClass({ propTypes: { roomId: React.PropTypes.string.isRequired, - canSetRelatedRooms: React.PropTypes.bool.isRequired, + canSetRelatedGroups: React.PropTypes.bool.isRequired, relatedGroupsEvent: React.PropTypes.instanceOf(MatrixEvent), }, @@ -37,7 +37,7 @@ module.exports = React.createClass({ getDefaultProps: function() { return { - canSetRelatedRooms: false, + canSetRelatedGroups: false, }; }, @@ -110,7 +110,7 @@ module.exports = React.createClass({ items={this.state.newGroupsList} className={"mx_RelatedGroupSettings"} newItem={this.state.newGroupId} - canEdit={this.props.canSetRelatedRooms} + canEdit={this.props.canSetRelatedGroups} onNewItemChanged={this.onNewGroupChanged} onItemAdded={this.onGroupAdded} onItemEdited={this.onGroupEdited}