only show ViewInChat when there are just messages, not when the response is mixed (#200939)

This commit is contained in:
Johannes Rieken
2023-12-15 11:02:01 +01:00
committed by GitHub
parent a33752f9f0
commit 4da031abb8

View File

@@ -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
}