Update group join button to match new API

pull/21833/head
Luke Barnard 2018-04-09 16:57:27 +01:00
parent 767cd8ca10
commit 2da45277cd
1 changed files with 1 additions and 1 deletions

View File

@ -948,7 +948,7 @@ export default React.createClass({
if ((!group || group.myMembership === 'leave') &&
this.state.summary &&
this.state.summary.profile &&
Boolean(this.state.summary.profile.is_joinable)
Boolean(this.state.summary.profile.is_openly_joinable)
) {
membershipButtonText = _t("Join this community");
membershipButtonOnClick = this._onJoinClick;