File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/chat/browser/actions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { ICommandService } from '../../../../../platform/commands/common/command
1010import { IExtensionService } from '../../../../services/extensions/common/extensions.js' ;
1111import { ExtensionIdentifier } from '../../../../../platform/extensions/common/extensions.js' ;
1212import { CHAT_OPEN_ACTION_ID } from './chatActions.js' ;
13- import { IExtensionManagementService } from '../../../../../platform/extensionManagement/common/extensionManagement.js' ;
13+ import { IExtensionManagementService , InstallOperation } from '../../../../../platform/extensionManagement/common/extensionManagement.js' ;
1414
1515
1616export class ChatGettingStartedContribution extends Disposable implements IWorkbenchContribution {
@@ -36,7 +36,7 @@ export class ChatGettingStartedContribution extends Disposable implements IWorkb
3636
3737 this . _register ( this . extensionManagementService . onDidInstallExtensions ( async ( result ) => {
3838 for ( const e of result ) {
39- if ( ExtensionIdentifier . equals ( this . productService . gitHubEntitlement ! . extensionId , e . identifier . id ) ) {
39+ if ( ExtensionIdentifier . equals ( this . productService . gitHubEntitlement ! . extensionId , e . identifier . id ) && e . operation === InstallOperation . Install ) {
4040 this . recentlyInstalled = true ;
4141 return ;
4242 }
You can’t perform that action at this time.
0 commit comments