about summary refs log tree commit diff
path: root/app/assets/javascripts/components/features
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-14 02:45:20 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-14 02:45:20 +0200
commita3384b6ea6608296277fada9444e257826fd582a (patch)
tree697707e5fdcbb263e61d7dc19432a841e73c7ca2 /app/assets/javascripts/components/features
parentcc54683694715902dfcf9ac76eed7ce672ad14a7 (diff)
Add "edit profile" link to dropdown on own profile
Diffstat (limited to 'app/assets/javascripts/components/features')
-rw-r--r--app/assets/javascripts/components/features/account/components/action_bar.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/account/components/action_bar.jsx b/app/assets/javascripts/components/features/account/components/action_bar.jsx
index 61c89313a..0f26b1e5a 100644
--- a/app/assets/javascripts/components/features/account/components/action_bar.jsx
+++ b/app/assets/javascripts/components/features/account/components/action_bar.jsx
@@ -19,7 +19,7 @@ const ActionBar = React.createClass({
     let menu = [];
 
     if (account.get('id') === me) {
-
+      menu.push({ text: 'Edit profile', href: '/settings/profile' });
     } else if (account.getIn(['relationship', 'blocking'])) {
       menu.push({ text: 'Unblock', action: this.props.onBlock });
     } else if (account.getIn(['relationship', 'following'])) {