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

Release 1.11.1 #672

Merged
merged 2 commits into from
Jan 3, 2022
Merged
Show file tree
Hide file tree
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
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