Skip to content

Commit 6a040cf

Browse files
authored
fix missing message for inline chat when hidden (microsoft#249888)
1 parent 02a172d commit 6a040cf

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,9 @@ class ChatEditorOverlayWidget extends Disposable {
5656
this._domNode.classList.add('chat-editor-overlay-widget');
5757

5858
this._isBusy = derived(r => {
59-
6059
const entry = this._entry.read(r);
61-
return entry?.waitsForLastEdits.read(r) ?? false;
62-
63-
// const session = this._session.read(r);
64-
// const chatModel = session && _chatService.getSession(session?.chatSessionId);
65-
// return chatModel?.requestInProgressObs.read(r) ?? false;
60+
const session = this._session.read(r);
61+
return entry?.waitsForLastEdits.read(r) ?? !session?.isGlobalEditingSession; // aka inline chat
6662
});
6763

6864
const requestMessage = derived(r => {

0 commit comments

Comments
 (0)