fix: only boot intercom if .env variable is set (#14656)
This commit is contained in:
1 parent
d25c043046
commit
f6e45842fd
2 files changed
+4
-4
No files matched your search
@@ -204,17 +204,17 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
|
||||
setFreshChat(false);
|
||||
} else if (isInterComEnabled) {
|
||||
shutdown();
|
||||
toggleIntercom(false);
|
||||
}
|
||||
toggleIntercom(false);
|
||||
} else {
|
||||
if (isFreshChatEnabled) {
|
||||
setFreshChat(true);
|
||||
} else if (isInterComEnabled) {
|
||||
await open();
|
||||
toggleIntercom(true);
|
||||
} else {
|
||||
loadChat({ open: true });
|
||||
}
|
||||
toggleIntercom(true);
|
||||
}
|
||||
onHelpItemSelect();
|
||||
}}>
|
||||
|
||||
Reference in new issue
Block a user