Fix issue when no display column exists

This commit is contained in:
Andrew Kingston 2023-04-12 10:34:33 +01:00
parent 68cd1fbe8e
commit 76353c2e4d
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@
{@const rowSelected = !!$selectedRows[row._id]}
{@const rowHovered = $hoveredRowId === row._id}
{@const rowFocused = $focusedRow?._id === row._id}
{@const cellId = `${row._id}-${$stickyColumn.name}`}
{@const cellId = `${row._id}-${$stickyColumn?.name}`}
<div
class="row"
on:mouseenter={() => ($hoveredRowId = row._id)}