Skip to content

Commit c11b1b6

Browse files
authored
Ensure quota statusbar entry shows up after reloading the window (microsoft#235429)
1 parent afad311 commit c11b1b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatQuotasService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export class ChatQuotasStatusBarEntry extends Disposable implements IWorkbenchCo
239239
) {
240240
super();
241241

242-
this._register(this.chatQuotasService.onDidChangeQuotas(() => this.updateStatusbarEntry()));
242+
this._register(Event.runAndSubscribe(this.chatQuotasService.onDidChangeQuotas, () => this.updateStatusbarEntry()));
243243
}
244244

245245
private updateStatusbarEntry(): void {

0 commit comments

Comments
 (0)