Skip to content

Commit

Permalink
Merge pull request #36 from FederationOfFathers/fix/edit_profile_bug
Browse files Browse the repository at this point in the history
Addressing Issue #35 by temporarily disabling users from editing profiles
  • Loading branch information
bearcherian authored May 31, 2017
2 parents 9f303e9 + 463b291 commit 63e9dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/members/single/member.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class Member{
if ( this._user === null ) {
return false
}
if ( this._user.Id === this._userCache.user.id || this._userCache.user.is_admin ) {
if (this._userCache.user.is_admin ) {
return true
}
return false
Expand Down

0 comments on commit 63e9dda

Please sign in to comment.