Skip to content

The open alternative to Salesforce, designed for AI.

Fix focused row group section border bottom (#14577)

Lucas Bordeau2ffbe017c27a
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx
index 95eb2a0393c..512ab0b6865 100644
--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx
@@ -198,7 +198,8 @@ export const RecordTableRecordGroupSection = () => {
const isFirstRowActiveOrFocused = isFirstRowActive || isFirstRowFocused;
- const shouldDisplayBorderBottom = !isFirstRowActiveOrFocused;
+ const shouldDisplayBorderBottom =
+ !isFirstRowActiveOrFocused || !isRecordGroupTableSectionToggled;
if (!isDefined(recordGroup)) {
return null;