mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05: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
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue