mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
Fixed account button action logging out
no issue Account button was incorrectly mapped to logout action, adds a temp no-op action for account area
This commit is contained in:
parent
1a29d0926e
commit
ead29b9e23
@ -179,11 +179,15 @@ export default class AccountHomePage extends React.Component {
|
||||
);
|
||||
}
|
||||
|
||||
handleAccountDetail(e) {
|
||||
// No-op
|
||||
}
|
||||
|
||||
renderLogoutButton() {
|
||||
return (
|
||||
<div style={{paddingLeft: '21px', paddingRight: '16px', paddingTop: '12px', borderTop: '1px solid #EFEFEF', cursor: 'pointer'}}>
|
||||
<div role="button" onClick={(e) => {
|
||||
this.handleSignout(e);
|
||||
this.handleAccountDetail(e);
|
||||
}} style={{marginBottom: '3px'}}> Account </div>
|
||||
<div role="button" onClick={(e) => {
|
||||
this.handleSignout(e);
|
||||
|
Loading…
Reference in New Issue
Block a user