Skip to content

Commit

Permalink
Fix logout link not working on local dev (elastic#102451)
Browse files Browse the repository at this point in the history
  • Loading branch information
Constance authored and kibanamachine committed Jun 17, 2021
1 parent bb924b1 commit c6908f2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ export const AccountHeader: React.FC = () => {
<EuiButtonEmptyTo to={PERSONAL_SETTINGS_PATH}>{ACCOUNT_NAV.SETTINGS}</EuiButtonEmptyTo>
</EuiContextMenuItem>,
<EuiContextMenuItem key="logout">
<EuiButtonEmpty href={LOGOUT_ROUTE}>{ACCOUNT_NAV.LOGOUT}</EuiButtonEmpty>
<EuiButtonEmptyTo to={LOGOUT_ROUTE} shouldNotCreateHref>
{ACCOUNT_NAV.LOGOUT}
</EuiButtonEmptyTo>
</EuiContextMenuItem>,
];

Expand Down

0 comments on commit c6908f2

Please sign in to comment.