We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 535b37f commit 9471f62Copy full SHA for 9471f62
src/utils/links.ts
@@ -34,9 +34,13 @@ export function openGitHubPulls(hostname: Hostname) {
34
}
35
36
export function openAccountProfile(account: Account) {
37
- const url = new URL(`https://${account.hostname}`);
38
- url.pathname = account.user.login;
39
- openExternalLink(url.toString() as Link);
+ if (account.platform === 'Bitbucket Cloud') {
+ openExternalLink('https://bitbucket.org/account/settings/' as Link);
+ } else {
40
+ const url = new URL(`https://${account.hostname}`);
41
+ url.pathname = account.user.login;
42
+ openExternalLink(url.toString() as Link);
43
+ }
44
45
46
export function openUserProfile(user: SubjectUser) {
0 commit comments