Skip to content

Commit 85c8139

Browse files
authored
fix: double text chip show null value (#1460)
1 parent aad4f99 commit 85c8139

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

front/src/modules/ui/table/editable-cell/type/components/GenericEditableDoubleTextChipCellDisplayMode.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ export function GenericEditableDoubleTextChipCellDisplayMode({
3939
}),
4040
);
4141

42-
const displayName =
43-
firstValue || secondValue ? `${firstValue} ${secondValue}` : ' ';
42+
const displayName = [firstValue, secondValue].filter(Boolean).join(' ');
4443

4544
switch (columnDefinition.metadata.entityType) {
4645
case Entity.Company: {

0 commit comments

Comments
 (0)