From 76353c2e4d25d06804bad452e784e396858590f3 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 12 Apr 2023 10:34:33 +0100 Subject: [PATCH] Fix issue when no display column exists --- .../src/components/sheet/layout/StickyColumn.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend-core/src/components/sheet/layout/StickyColumn.svelte b/packages/frontend-core/src/components/sheet/layout/StickyColumn.svelte index 6b25aa87e8..18df7a16bc 100644 --- a/packages/frontend-core/src/components/sheet/layout/StickyColumn.svelte +++ b/packages/frontend-core/src/components/sheet/layout/StickyColumn.svelte @@ -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}`}
($hoveredRowId = row._id)}