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 95eb2a0393..512ab0b686 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;