[FIX] Omnichannel Current Chats open status filter not working (#18795)

pull/18867/head
Renato Becker 6 years ago committed by Diego Sampaio
parent 94cb30fbda
commit c3c78abba9
No known key found for this signature in database
GPG Key ID: E060152B30502562
  1. 2
      client/omnichannel/currentChats/CurrentChatsRoute.js

@ -69,7 +69,7 @@ const useQuery = ({ guest, servedBy, department, status, from, to, tags, customF
query.createdAt = JSON.stringify({ start: from, end: to });
}
if (status !== 'all') {
query.open = status === 'open';
query.open = status === 'opened';
}
if (servedBy && servedBy !== 'all') {
query.agents = [servedBy];

Loading…
Cancel
Save