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

pull/18862/head
Renato Becker 5 years ago committed by GitHub
parent 66b872d447
commit ab9a6d8c7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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