Skip to content

Commit 3f54732

Browse files
committed
fix: grouping bug
1 parent bbab3ef commit 3f54732

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/grid/src/grid/gridFunctions/renderRowSelector.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ export function renderRowSelector(
5959

6060
// helper to add class so we can override color when row is modified
6161
function isModified(rowData: Entity) {
62-
if (rowData.__controller.__isDeleted) {
62+
if (rowData?.__controller?.__isDeleted) {
6363
return 'row-is-deleted';
6464
}
6565

66-
if (rowData.__controller.__isNew) {
66+
if (rowData?.__controller?.__isNew) {
6767
return 'row-is-new';
6868
}
6969

70-
if (rowData.__controller.__edited) {
70+
if (rowData?.__controller?.__edited) {
7171
return 'row-is-modified';
7272
}
7373

0 commit comments

Comments
 (0)