mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
only show ViewInChat when there are just messages, not when the response is mixed (#200939)
This commit is contained in:
@@ -592,7 +592,7 @@ export class ViewInChatAction extends AbstractInlineChatAction {
|
||||
precondition: CTX_INLINE_CHAT_VISIBLE,
|
||||
menu: {
|
||||
id: MENU_INLINE_CHAT_WIDGET_STATUS,
|
||||
when: ContextKeyExpr.or(CTX_INLINE_CHAT_RESPONSE_TYPES.isEqualTo(InlineChatResponseTypes.OnlyMessages), CTX_INLINE_CHAT_RESPONSE_TYPES.isEqualTo(InlineChatResponseTypes.Mixed)),
|
||||
when: CTX_INLINE_CHAT_RESPONSE_TYPES.isEqualTo(InlineChatResponseTypes.OnlyMessages),
|
||||
group: '0_main',
|
||||
order: 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user