File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/vs/workbench/contrib/chat/browser/chatEditing Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,7 @@ export class ChatEditingModifiedNotebookEntry extends AbstractChatEditingModifie
259
259
if ( currentState === WorkingSetEntryState . Modified && didResetToOriginalContent ) {
260
260
this . _stateObs . set ( WorkingSetEntryState . Rejected , undefined ) ;
261
261
this . updateCellDiffInfo ( [ ] , undefined ) ;
262
+ this . initializeModelsFromDiff ( ) ;
262
263
return ;
263
264
}
264
265
@@ -397,6 +398,7 @@ export class ChatEditingModifiedNotebookEntry extends AbstractChatEditingModifie
397
398
if ( currentState === WorkingSetEntryState . Modified && didResetToOriginalContent ) {
398
399
this . _stateObs . set ( WorkingSetEntryState . Rejected , undefined ) ;
399
400
this . updateCellDiffInfo ( [ ] , undefined ) ;
401
+ this . initializeModelsFromDiff ( ) ;
400
402
return ;
401
403
}
402
404
}
You can’t perform that action at this time.
0 commit comments