File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
services/assignment/common Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1167,7 +1167,7 @@ export class ChatEntitlementContext extends Disposable {
11671167 this . organisationsContextKey . set ( state . organisations ) ;
11681168 }
11691169
1170- this . isInternalContextKey . set ( Boolean ( state . organisations ?. some ( org => org === 'github' || org === 'microsoft' ) ) ) ;
1170+ this . isInternalContextKey . set ( Boolean ( state . organisations ?. some ( org => org === 'github' || org === 'microsoft' || org === 'ms-copilot' || org === 'MicrosoftCopilot' ) ) ) ;
11711171 this . skuContextKey . set ( state . sku ) ;
11721172
11731173 this . hiddenContext . set ( ! ! state . hidden ) ;
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ export class CopilotAssignmentFilterProvider extends Disposable implements IExpe
128128 private updateCopilotEntitlementInfo ( ) {
129129 const newSku = this . _chatEntitlementService . sku ;
130130 const newIsGitHubInternal = this . _chatEntitlementService . organisations ?. includes ( 'github' ) ;
131- const newIsMicrosoftInternal = this . _chatEntitlementService . organisations ?. includes ( 'microsoft' ) ;
131+ const newIsMicrosoftInternal = this . _chatEntitlementService . organisations ?. includes ( 'microsoft' ) || this . _chatEntitlementService . organisations ?. includes ( 'ms-copilot' ) || this . _chatEntitlementService . organisations ?. includes ( 'MicrosoftCopilot' ) ;
132132 const newInternalOrg = newIsGitHubInternal ? 'github' : newIsMicrosoftInternal ? 'microsoft' : undefined ;
133133
134134 if ( this . copilotSku === newSku && this . copilotInternalOrg === newInternalOrg ) {
You can’t perform that action at this time.
0 commit comments