mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
fix: Breakage of message pane when Openai integration isn't enabled (#8381)
Error when the Openai integration isn't enabled fixes: https://github.com/chatwoot/chatwoot/issues/8379
This commit is contained in:
committed by
GitHub
parent
d55bb63aa0
commit
17725e4dd0
@@ -18,7 +18,7 @@ export default {
|
||||
aiIntegration() {
|
||||
return this.appIntegrations.find(
|
||||
integration => integration.id === 'openai' && !!integration.hooks.length
|
||||
).hooks[0];
|
||||
)?.hooks[0];
|
||||
},
|
||||
isAIIntegrationEnabled() {
|
||||
return !!this.aiIntegration;
|
||||
|
||||
Reference in New Issue
Block a user