From 7e1f92335baecb81f2414f7fda2f66bd80c19711 Mon Sep 17 00:00:00 2001 From: aatbip Date: Tue, 6 Feb 2024 14:40:04 +0545 Subject: [PATCH] removed image if company image icon is not present --- src/app/manage/page.tsx | 2 +- src/components/table/cellRenderers/CompanyCellRenderer.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/manage/page.tsx b/src/app/manage/page.tsx index 42f7aec..f91f8e4 100644 --- a/src/app/manage/page.tsx +++ b/src/app/manage/page.tsx @@ -54,7 +54,7 @@ export default async function ManagePage({ searchParams }: { searchParams: { tok // const clientId = 'a583a0d0-de70-4d14-8bb1-0aacf7424e2c'; // const companyId = '52eb75a9-2790-4e37-aa7a-c13f7bc3aa91'; const clientId = '2b37da9b-73b9-4c28-b7ac-144cf39cb13b'; - const companyId = 'db906431-e721-47e8-8649-bd11b9ed2982'; + const companyId = 'b5b3883c-f3e7-40e2-98e8-4f4b195ba98e'; const client = await getClient(clientId, token); return ( diff --git a/src/components/table/cellRenderers/CompanyCellRenderer.tsx b/src/components/table/cellRenderers/CompanyCellRenderer.tsx index a0036cd..55256fd 100644 --- a/src/components/table/cellRenderers/CompanyCellRenderer.tsx +++ b/src/components/table/cellRenderers/CompanyCellRenderer.tsx @@ -4,7 +4,7 @@ export const CompanyCellRenderer = ({ value }: { value: { iconImageUrl: string; const { iconImageUrl, name } = value; return ( - + {iconImageUrl && } {name}