diff --git a/app/javascript/gabsocial/components/modal/edit_profile_modal.js b/app/javascript/gabsocial/components/modal/edit_profile_modal.js index c5c8abbb..bf036acf 100644 --- a/app/javascript/gabsocial/components/modal/edit_profile_modal.js +++ b/app/javascript/gabsocial/components/modal/edit_profile_modal.js @@ -112,11 +112,11 @@ class EditProfileModal extends ImmutablePureComponent { locked, } = this.state - const isPro = account.get('is_pro') + const isVerified = account.get('is_verified') const obj = {} obj.locked = locked - if (!isPro && account.get('display_name_plain') !== displayNameValue) obj.displayName = displayNameValue + if (!isVerified && account.get('display_name_plain') !== displayNameValue) obj.displayName = displayNameValue if (account.get('note_plain') !== bioValue) obj.note = bioValue if (account.get('avatar_static') !== avatarSrc) obj.avatar = avatarSrc if (account.get('header_static') !== headerSrc) obj.header = headerSrc @@ -135,7 +135,7 @@ class EditProfileModal extends ImmutablePureComponent { locked, } = this.state - const isPro = account.get('is_pro') + const isVerified = account.get('is_verified') return (