mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
consider cancel state when recomputing response type context key (#226409)
re https://github.com/microsoft/vscode-copilot/issues/7324
This commit is contained in:
@@ -527,7 +527,12 @@ export class ReportIssueAction extends AbstractInlineChatAction {
|
||||
id: MENU_INLINE_CHAT_WIDGET_STATUS,
|
||||
group: '0_main',
|
||||
order: 6,
|
||||
when: ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE, CTX_INLINE_CHAT_SUPPORT_REPORT_ISSUE, CTX_INLINE_CHAT_REQUEST_IN_PROGRESS.negate())
|
||||
when: ContextKeyExpr.and(
|
||||
CTX_INLINE_CHAT_VISIBLE,
|
||||
CTX_INLINE_CHAT_SUPPORT_REPORT_ISSUE,
|
||||
CTX_INLINE_CHAT_RESPONSE_TYPE.notEqualsTo(InlineChatResponseType.None),
|
||||
CTX_INLINE_CHAT_REQUEST_IN_PROGRESS.negate()
|
||||
)
|
||||
}]
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user