Skip to content

Commit

Permalink
Fix default offline channel name when saving departments. (#17553)
Browse files Browse the repository at this point in the history
  • Loading branch information
renatobecker authored May 6, 2020
1 parent 01e5a21 commit 9d66662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/livechat/client/views/app/livechatDepartmentForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ Template.livechatDepartmentForm.onCreated(async function() {

this.autorun(async () => {
const department = this.department.get();
let offlineChannel;
let offlineChannel = [];
if (department?.offlineMessageChannelName) {
const { room } = await APIClient.v1.get(`rooms.info?roomName=${ department?.offlineMessageChannelName }`);
if (room) {
Expand Down

0 comments on commit 9d66662

Please sign in to comment.