From cb13954e9ed1c55b908529c380ccc7f346a49ea5 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Tue, 26 May 2020 20:29:58 -0400 Subject: [PATCH] Updated edit profile modal buttons to settings/profile for now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - edit profile modal buttons to settings/profile for now • Todo: - Implement edit profile modal completely --- app/javascript/gabsocial/components/panel/user_panel.js | 2 +- app/javascript/gabsocial/components/profile_header.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/gabsocial/components/panel/user_panel.js b/app/javascript/gabsocial/components/panel/user_panel.js index 2f80e3b4..80bfb7c5 100644 --- a/app/javascript/gabsocial/components/panel/user_panel.js +++ b/app/javascript/gabsocial/components/panel/user_panel.js @@ -98,7 +98,7 @@ class UserPanel extends ImmutablePureComponent { backgroundColor='secondary' radiusSmall className={buttonClasses} - onClick={onOpenEditProfile} + href='/settings/profile' > {intl.formatMessage(messages.edit_profile)} diff --git a/app/javascript/gabsocial/components/profile_header.js b/app/javascript/gabsocial/components/profile_header.js index ace68689..c95bd076 100644 --- a/app/javascript/gabsocial/components/profile_header.js +++ b/app/javascript/gabsocial/components/profile_header.js @@ -193,7 +193,7 @@ class ProfileHeader extends ImmutablePureComponent { backgroundColor='none' color='brand' className={[_s.justifyContentCenter, _s.alignItemsCenter].join(' ')} - onClick={this.handleOnEditProfile} + href='/settings/profile' > {intl.formatMessage(messages.editProfile)}