fix missing close action of inline chat widget (#247847)

This commit is contained in:
Johannes Rieken
2025-04-30 15:24:21 +02:00
committed by GitHub
parent f22c15e071
commit eae004b31f
@@ -405,10 +405,7 @@ export class CloseAction extends AbstractInline1ChatAction {
}, {
id: MENU_INLINE_CHAT_SIDE,
group: 'navigation',
when: ContextKeyExpr.and(
CTX_INLINE_CHAT_RESPONSE_TYPE.isEqualTo(InlineChatResponseType.None),
CTX_INLINE_CHAT_HAS_AGENT2.negate(),
)
when: CTX_INLINE_CHAT_RESPONSE_TYPE.isEqualTo(InlineChatResponseType.None)
}]
});
}