diff --git a/src/webviews/apps/plus/shared/components/home-account-content.ts b/src/webviews/apps/plus/shared/components/home-account-content.ts index 9b8af5b2e251d..f645056552a1a 100644 --- a/src/webviews/apps/plus/shared/components/home-account-content.ts +++ b/src/webviews/apps/plus/shared/components/home-account-content.ts @@ -219,6 +219,13 @@ export class GLHomeAccountContent extends LitElement { this.hasAccount, () => html` + this.host.refresh(true), this)]; + return [ + registerCommand(`${this.host.id}.refresh`, () => this.host.refresh(true), this), + registerCommand( + `${this.host.id}.account.resync`, + () => this.container.subscription.validate({ force: true }), + this, + ), + ]; } onMessageReceived(e: IpcMessage) {