Skip to content

Commit

Permalink
Temporarily remove switch account button (#5944)
Browse files Browse the repository at this point in the history
## Test plan

In the client:

1. Open Accounts tab
2. There should be no `witch Account...` button.

In JetBrains switching accounts is still possible using native account
management panel (accessible e.g. using Cody icon on the status bar or
from the Cody settings).
  • Loading branch information
pkukielka authored Oct 18, 2024
1 parent 668a1b3 commit d0bbf92
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions vscode/webviews/tabs/AccountTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ export const AccountTab: React.FC<AccountTabProps> = ({ setView }) => {
getVSCodeAPI().postMessage({ command: 'links', value: ACCOUNT_UPGRADE_URL.toString() }),
})
}
actions.push({
text: 'Switch Account...',
onClick: () => getVSCodeAPI().postMessage({ command: 'command', id: 'cody.auth.switchAccount' }),
})
if (isDotComUser) {
actions.push({
text: 'Manage Account',
Expand Down

0 comments on commit d0bbf92

Please sign in to comment.