From c4eda756ebf9766e67c387f95ded73391c276157 Mon Sep 17 00:00:00 2001 From: adriano Date: Wed, 28 Feb 2024 11:18:48 -0300 Subject: [PATCH] fix: Prevent loading all tickets when status is 'closed' --- frontend/src/components/TicketsList/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/TicketsList/index.js b/frontend/src/components/TicketsList/index.js index 203e371..9754d79 100644 --- a/frontend/src/components/TicketsList/index.js +++ b/frontend/src/components/TicketsList/index.js @@ -200,7 +200,7 @@ const TicketsList = (props) => { showAll, queueIds: JSON.stringify(selectedQueueIds), tab, - unlimited:"all" + unlimited: status === 'open' ? "all" : "false" }) useEffect(() => {