@@ -50,7 +50,6 @@ import { ViewPane, IViewPaneOptions, ViewAction } from '../../../../workbench/br
5050import { ViewPaneContainer } from '../../../../workbench/browser/parts/views/viewPaneContainer.js' ;
5151import { IViewDescriptorService } from '../../../../workbench/common/views.js' ;
5252import { CHAT_CATEGORY } from '../../../../workbench/contrib/chat/browser/actions/chatActions.js' ;
53- import { IAgentSessionsService } from '../../../../workbench/contrib/chat/browser/agentSessions/agentSessionsService.js' ;
5453import { ChatContextKeys } from '../../../../workbench/contrib/chat/common/actions/chatContextKeys.js' ;
5554import { createFileIconThemableTreeContainerScope } from '../../../../workbench/contrib/files/browser/views/explorerView.js' ;
5655import { ACTIVE_GROUP , IEditorService , SIDE_GROUP } from '../../../../workbench/services/editor/common/editorService.js' ;
@@ -93,7 +92,6 @@ class ChangesButtonBarWidget extends Disposable {
9392 container : HTMLElement ,
9493 viewModel : ChangesViewModel ,
9594 hasGitOperationInProgressObs : IObservable < boolean > ,
96- @IAgentSessionsService agentSessionsService : IAgentSessionsService ,
9795 @IMenuService menuService : IMenuService ,
9896 @ICodeReviewService codeReviewService : ICodeReviewService ,
9997 @IContextKeyService contextKeyService : IContextKeyService ,
@@ -172,7 +170,7 @@ class ChangesButtonBarWidget extends Disposable {
172170 {
173171 telemetrySource : 'changesView' ,
174172 menuOptions : sessionResource
175- ? { args : [ sessionResource , agentSessionsService . getSession ( sessionResource ) ?. metadata ] }
173+ ? { arg : sessionResource }
176174 : { shouldForwardArgs : true } ,
177175 buttonConfigProvider : ( action ) => this . _getButtonConfiguration ( action , outgoingChanges , reviewState , hasGitOperationInProgress , runningLabelObs )
178176 } ,
0 commit comments