From 1eb503099a85ebda05f29687bdac65896590a7c1 Mon Sep 17 00:00:00 2001 From: Renato Becker Date: Thu, 3 Sep 2020 13:19:34 -0300 Subject: [PATCH] Update CurrentChatsRoute.js Fix current filter ignoring status open. --- client/omnichannel/currentChats/CurrentChatsRoute.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/omnichannel/currentChats/CurrentChatsRoute.js b/client/omnichannel/currentChats/CurrentChatsRoute.js index da9edc10ea86..d4ff9f77ef9f 100644 --- a/client/omnichannel/currentChats/CurrentChatsRoute.js +++ b/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];