From fea17a10b63f73b3ede195988f9e3846f6deb056 Mon Sep 17 00:00:00 2001 From: nael Date: Wed, 13 Dec 2023 12:24:53 +0100 Subject: [PATCH] :bug: Added providers logo to jobs tab --- .../components/connections/components/columns.tsx | 5 +++-- .../src/components/events/components/columns.tsx | 12 ++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/apps/webapp/src/components/connections/components/columns.tsx b/apps/webapp/src/components/connections/components/columns.tsx index f5eda05e9..88196586f 100644 --- a/apps/webapp/src/components/connections/components/columns.tsx +++ b/apps/webapp/src/components/connections/components/columns.tsx @@ -69,9 +69,10 @@ export const columns: ColumnDef[] = [ provider == "zoho" ? `/providers/crm/${provider}.webp` : `/providers/crm/${provider}.png` - } className="w-5 h-5 rounded-sm mr-2" /> + } className="w-5 h-5 rounded-sm mr-2" + /> {provider} - + ) }, diff --git a/apps/webapp/src/components/events/components/columns.tsx b/apps/webapp/src/components/events/components/columns.tsx index cee355fde..d53a32d49 100644 --- a/apps/webapp/src/components/events/components/columns.tsx +++ b/apps/webapp/src/components/events/components/columns.tsx @@ -134,13 +134,21 @@ export const columns: ColumnDef[] = [ if (!status) { return null }*/ + const provider = (row.getValue("integration") as string).toLowerCase(); return (
{row.getValue("integration") ? - - {row.getValue("integration")} + + {provider} : _null_ }