Fix default offline channel name when saving departments. (#17553)

pull/17129/head^2
Renato Becker 5 years ago committed by GitHub
parent 01e5a214f0
commit 9d66662b86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/livechat/client/views/app/livechatDepartmentForm.js

@ -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) {

Loading…
Cancel
Save