From 0f69106558d9e3023a0f5fd7f32421b09766b054 Mon Sep 17 00:00:00 2001
From: SIDDAM VINAY <64787261+siddamvinay2001@users.noreply.github.com>
Date: Thu, 1 Aug 2024 14:59:06 +0530
Subject: [PATCH] Fix row background not changing to blue on selection (#6479)
[Screencast from 2024-07-31
21-57-49.webm](https://github.com/user-attachments/assets/d2d80b10-def9-4d0e-8bcc-53555742db19)
@Bonapara Please review
Closes #6461 - fixed , on selection the background is now changing to
blue
---
.../record-table-row/components/RecordTableCellsVisible.tsx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableCellsVisible.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableCellsVisible.tsx
index e6b75b265..f72311160 100644
--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableCellsVisible.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableCellsVisible.tsx
@@ -8,7 +8,7 @@ import { RecordTableCellWrapper } from '@/object-record/record-table/record-tabl
import { RecordTableTd } from '@/object-record/record-table/record-table-cell/components/RecordTableTd';
export const RecordTableCellsVisible = () => {
- const { isDragging } = useContext(RecordTableRowContext);
+ const { isDragging, isSelected } = useContext(RecordTableRowContext);
const { visibleTableColumnsSelector } = useRecordTableStates();
const visibleTableColumns = useRecoilValue(visibleTableColumnsSelector());
@@ -18,7 +18,7 @@ export const RecordTableCellsVisible = () => {
return (
<>
-
+
@@ -29,7 +29,7 @@ export const RecordTableCellsVisible = () => {
column={column}
columnIndex={columnIndex + 1}
>
-
+