File tree 1 file changed +10
-6
lines changed
src/components/structures
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ module.exports = React.createClass({
165
165
var FilePanel = sdk . getComponent ( 'structures.FilePanel' ) ;
166
166
var TintableSvg = sdk . getComponent ( "elements.TintableSvg" ) ;
167
167
var buttonGroup ;
168
+ var inviteGroup ;
168
169
var panel ;
169
170
170
171
var filesHighlight ;
@@ -210,6 +211,14 @@ module.exports = React.createClass({
210
211
{ notificationsHighlight }
211
212
</ div >
212
213
</ div > ;
214
+
215
+ inviteGroup =
216
+ < div className = "mx_RightPanel_invite" onClick = { this . onInviteButtonClick } >
217
+ < div className = "mx_RightPanel_icon" >
218
+ < TintableSvg src = "img/icon-invite-people.svg" width = "35" height = "35" />
219
+ </ div >
220
+ < div className = "mx_RightPanel_message" > Invite to this room</ div >
221
+ </ div > ;
213
222
}
214
223
215
224
if ( ! this . props . collapsed ) {
@@ -244,12 +253,7 @@ module.exports = React.createClass({
244
253
</ div >
245
254
{ panel }
246
255
< div className = "mx_RightPanel_footer" >
247
- < div className = "mx_RightPanel_invite" onClick = { this . onInviteButtonClick } >
248
- < div className = "mx_RightPanel_icon" >
249
- < TintableSvg src = "img/icon-invite-people.svg" width = "35" height = "35" />
250
- </ div >
251
- < div className = "mx_RightPanel_message" > Invite to this room</ div >
252
- </ div >
256
+ { inviteGroup }
253
257
</ div >
254
258
</ aside >
255
259
) ;
You can’t perform that action at this time.
0 commit comments