File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/vs/workbench/contrib/chat/browser/chatEditing Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ import { CHAT_CATEGORY } from '../actions/chatActions.js';
3838import { ChatTreeItem , IChatWidget , IChatWidgetService } from '../chat.js' ;
3939import { IAgentSession , isAgentSession } from '../agentSessions/agentSessionsModel.js' ;
4040import { AgentSessionProviders } from '../agentSessions/agentSessions.js' ;
41+ import { IsSessionsWindowContext } from '../../../../common/contextkeys.js' ;
4142
4243export abstract class EditingSessionAction extends Action2 {
4344
@@ -362,7 +363,7 @@ export class ViewAllSessionChangesAction extends Action2 {
362363 id : MenuId . AgentSessionItemToolbar ,
363364 group : 'navigation' ,
364365 order : 0 ,
365- when : ChatContextKeys . hasAgentSessionChanges
366+ when : ContextKeyExpr . and ( ChatContextKeys . hasAgentSessionChanges , IsSessionsWindowContext . negate ( ) )
366367 }
367368 ] ,
368369 } ) ;
You can’t perform that action at this time.
0 commit comments