Add "edit profile" link to dropdown on own profile
This commit is contained in:
1 parent
cc54683694
commit
a3384b6ea6
2 files changed
+7
-2
No files matched your search
@@ -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'])) {
|
||||
|
||||
Reference in new issue
Block a user