Show membership spinner next to Leave/Join button when leaving/joining

This commit is contained in:
Luke Barnard 2018-04-10 11:49:59 +01:00
parent 1da56d9e98
commit 9e6841df09

View File

@ -989,8 +989,8 @@ export default React.createClass({
return <div className={membershipContainerClasses}>
<div className="mx_GroupView_membershipSubSection">
{ /* Empty div for flex alignment */ }
<div />
{ /* The <div /> is for flex alignment */ }
{ this.state.membershipBusy ? <Spinner /> : <div /> }
<div className="mx_GroupView_membership_buttonContainer">
<AccessibleButton
className={membershipButtonClasses}