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

Commit

Permalink
Release 1.11.1 (#672)
Browse files Browse the repository at this point in the history
* Hide Livechat if omnichannel is disabled (#671)

* Release 1.11.1

Co-authored-by: Murtaza Patrawala <34130764+murtaza98@users.noreply.github.com>
  • Loading branch information
MartinSchoeler and murtaza98 committed Jan 3, 2022
1 parent 3ecb6b8 commit 5677a8a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 1.11.1 - 2021-12-30
[FIX] Hide Livechat if Omnichannel is disabled #671

## 1.11.0 - 2021-12-09
[NEW] Introduce clearLocalStorageWhenChatEnded setting logic (#666)
[IMPROVE] Change logic to generate token on Live Chat (#667)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rocket.chat/livechat",
"version": "1.11.0",
"version": "1.11.1",
"files": [
"/build"
],
Expand Down
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

0 comments on commit 5677a8a

Please sign in to comment.