File tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/chat/browser/actions
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
10
10
import { IExtensionService } from '../../../../services/extensions/common/extensions.js' ;
11
11
import { ExtensionIdentifier } from '../../../../../platform/extensions/common/extensions.js' ;
12
12
import { 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' ;
14
14
15
15
16
16
export class ChatGettingStartedContribution extends Disposable implements IWorkbenchContribution {
@@ -36,7 +36,7 @@ export class ChatGettingStartedContribution extends Disposable implements IWorkb
36
36
37
37
this . _register ( this . extensionManagementService . onDidInstallExtensions ( async ( result ) => {
38
38
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 ) {
40
40
this . recentlyInstalled = true ;
41
41
return ;
42
42
}
You can’t perform that action at this time.
0 commit comments