From d0779c7e7a7aeb749cfb2927cbc791571203a61b Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Fri, 19 Apr 2024 15:50:58 +0200 Subject: [PATCH] Fix display `0` on `DisplayLookup` (#274) --- src/npm-fastui/src/components/details.tsx | 2 +- src/npm-fastui/src/components/table.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/npm-fastui/src/components/details.tsx b/src/npm-fastui/src/components/details.tsx index 20739c99..a109cb97 100644 --- a/src/npm-fastui/src/components/details.tsx +++ b/src/npm-fastui/src/components/details.tsx @@ -23,7 +23,7 @@ const FieldDetail: FC<{ props: Details; fieldDisplay: DisplayLookupProps }> = ({ <>
{title ?? asTitle(field)}
- +
) diff --git a/src/npm-fastui/src/components/table.tsx b/src/npm-fastui/src/components/table.tsx index cf9e455f..766678e0 100644 --- a/src/npm-fastui/src/components/table.tsx +++ b/src/npm-fastui/src/components/table.tsx @@ -44,7 +44,7 @@ const Cell: FC<{ row: DataModel; column: DisplayLookupProps }> = ({ row, column const renderedOnClick = renderEvent(onClick, row) return ( - + ) }