From a852939247e242ec74655c10179d6b2003b75404 Mon Sep 17 00:00:00 2001 From: Hassan_Wari Date: Mon, 29 Jan 2024 12:45:20 +0300 Subject: [PATCH] fix warnings on Activity --- packages/webapp/src/pages/Activity.tsx | 48 +++++++++++++------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/packages/webapp/src/pages/Activity.tsx b/packages/webapp/src/pages/Activity.tsx index e658e2c3482..c39fbf60cc9 100644 --- a/packages/webapp/src/pages/Activity.tsx +++ b/packages/webapp/src/pages/Activity.tsx @@ -424,7 +424,7 @@ export default function Activity() { onChange={handleStatusChange} value={status} > - + @@ -442,7 +442,7 @@ export default function Activity() { onChange={handleScriptChange} value={selectedScript} > - + {scripts.map((script: string) => ( ))} @@ -452,25 +452,6 @@ export default function Activity() { )} )} - {integrations.length > 0 && ( -
- - {selectedIntegration && ( - onRemoveFilter(setSelectedIntegration, 'integration')} className="flex h-7 h-7 cursor-pointer text-blue-400" /> - )} -
- )} {connections.length > 0 && (
+ + {integrations.map((integration: string) => ( + + ))} + + {selectedIntegration && ( + onRemoveFilter(setSelectedIntegration, 'integration')} className="flex h-7 h-7 cursor-pointer text-blue-400" /> + )} +
+ )}
)} = 0 ? 'cursor-pointer hover:bg-gray-700' : ''} h-8 mr-2 rounded-md px-3 pt-1.5 text-sm text-white bg-gray-800`}> - + - +