The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix: double text chip show null value (#1460)
Jérémy M85c8139c055b
diff --git a/front/src/modules/ui/table/editable-cell/type/components/GenericEditableDoubleTextChipCellDisplayMode.tsx b/front/src/modules/ui/table/editable-cell/type/components/GenericEditableDoubleTextChipCellDisplayMode.tsxindex 08f5b9f614c..7c4ce9e6e51 100644--- a/front/src/modules/ui/table/editable-cell/type/components/GenericEditableDoubleTextChipCellDisplayMode.tsx+++ b/front/src/modules/ui/table/editable-cell/type/components/GenericEditableDoubleTextChipCellDisplayMode.tsx@@ -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: {