Skip to content

Commit e8e69d3

Browse files
authored
Require offerSetup set to show CC icon for entitled user (microsoft#235518)
Fix microsoft/vscode-copilot#11145
1 parent 9d2d734 commit e8e69d3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatActions.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,9 +534,11 @@ MenuRegistry.appendMenuItem(MenuId.CommandCenter, {
534534
when: ContextKeyExpr.and(
535535
ContextKeyExpr.has('config.chat.commandCenter.enabled'),
536536
ContextKeyExpr.or(
537+
ContextKeyExpr.and(
538+
ContextKeyExpr.has('config.chat.experimental.offerSetup'),
539+
ChatContextKeys.Setup.entitled,
540+
),
537541
ChatContextKeys.Setup.installed,
538-
ChatContextKeys.Setup.entitled,
539-
ContextKeyExpr.has('config.chat.experimental.offerSetup'),
540542
ChatContextKeys.panelParticipantRegistered
541543
)
542544
),

0 commit comments

Comments
 (0)