The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix: Added isDisplayModeContentEmpty to the showEditButton's check (#5025)
Zoltán Völcseyc40263106712
diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsxindex 5170848ed3f..49150429ba6 100644--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx@@ -141,7 +141,11 @@ export const RecordInlineCellContainer = ({};const showEditButton =- buttonIcon && !isInlineCellInEditMode && isHovered && !editModeContentOnly;+ buttonIcon &&+ !isInlineCellInEditMode &&+ isHovered &&+ !editModeContentOnly &&+ !isDisplayModeContentEmpty;const theme = useTheme();const labelId = `label-${entityId}-${fieldDefinition?.metadata?.fieldName}`;