Skip to content

Commit a71fc92

Browse files
committed
Adds missing buttons back to account chip menu
1 parent 1b595db commit a71fc92

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

src/webviews/apps/plus/shared/components/account-chip.ts

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -331,14 +331,32 @@ export class GlAccountChip extends LitElement {
331331
<span class="header__actions">
332332
${this.hasAccount
333333
? html`<gl-button
334-
appearance="toolbar"
335-
href="${createCommandLink<Source>('gitlens.plus.logout', {
336-
source: 'account',
337-
})}"
338-
tooltip="Sign Out"
339-
aria-label="Sign Out"
340-
><code-icon icon="sign-out"></code-icon
341-
></gl-button>`
334+
appearance="toolbar"
335+
href="${createCommandLink<Source>('gitlens.views.home.account.resync', {
336+
source: 'account',
337+
})}"
338+
tooltip="Synchronize Status"
339+
aria-label="Synchronize Status"
340+
><code-icon icon="sync"></code-icon
341+
></gl-button>
342+
<gl-button
343+
appearance="toolbar"
344+
href="${createCommandLink<Source>('gitlens.plus.manage', {
345+
source: 'account',
346+
})}"
347+
tooltip="Manage Account"
348+
aria-label="Manage Account"
349+
><code-icon icon="gear"></code-icon
350+
></gl-button>
351+
<gl-button
352+
appearance="toolbar"
353+
href="${createCommandLink<Source>('gitlens.plus.logout', {
354+
source: 'account',
355+
})}"
356+
tooltip="Sign Out"
357+
aria-label="Sign Out"
358+
><code-icon icon="sign-out"></code-icon
359+
></gl-button>`
342360
: nothing}
343361
</span>
344362
</div>

0 commit comments

Comments
 (0)