fix: double text chip show null value (#1460)

This commit is contained in:
Jérémy M
2023-09-05 17:55:29 +02:00
committed by GitHub
parent aad4f99f52
commit 85c8139c05

View File

@ -39,8 +39,7 @@ export function GenericEditableDoubleTextChipCellDisplayMode({
}),
);
const displayName =
firstValue || secondValue ? `${firstValue} ${secondValue}` : ' ';
const displayName = [firstValue, secondValue].filter(Boolean).join(' ');
switch (columnDefinition.metadata.entityType) {
case Entity.Company: {