Skip to content

Commit 5ef4bfe

Browse files
authored
Hide button to manage overages for enterprise/business users (microsoft/vscode-copilot#16963) (microsoft#248065)
1 parent 12ddceb commit 5ef4bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ class ChatStatusDashboard extends Disposable {
491491
)
492492
));
493493

494-
if (supportsOverage) {
494+
if (supportsOverage && (this.chatEntitlementService.entitlement === ChatEntitlement.Pro || this.chatEntitlementService.entitlement === ChatEntitlement.ProPlus)) {
495495
const manageOverageButton = disposables.add(new Button(quotaIndicator, { ...defaultButtonStyles, secondary: true }));
496496
manageOverageButton.label = localize('enableAdditionalUsage', "Manage paid premium requests");
497497
disposables.add(manageOverageButton.onDidClick(() => this.runCommandAndClose(() => this.openerService.open(URI.parse(defaultChat.manageOverageUrl)))));

0 commit comments

Comments
 (0)