Skip to content

Commit 9b19310

Browse files
committed
Bug fix: for tags with no _id
1 parent d1a1f26 commit 9b19310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renderer/components/dbComponents/dataTableFromDB.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ const DataTableFromDB = ({ data, tablePropsData, tablePropsColumn, isReadOnly })
723723
// Loop through each tag to find the group names for the current rowData
724724
rowTags.forEach(tag => {
725725
tag.data.forEach(item => {
726-
if (item.row._id === rowData._id) {
726+
if (item?._id.toString() === rowData?._id.toString()) {
727727
item.groupNames.forEach(groupName => groupNames.add(groupName));
728728
}
729729
});

0 commit comments

Comments
 (0)