Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

[FIX] Hide Livechat if Omnichannel is disabled #671

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/components/App/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,14 @@ export class App extends Component {
expanded,
alerts,
modal,
config,
}, { initialized, poppedOut }) => {
if (!initialized) {
return null;
}
if (!config.enabled) {
return null;
}
const screenProps = {
notificationsEnabled: sound && sound.enabled,
minimized: !poppedOut && (minimized || undocked),
Expand Down