Fix issue when no primary display is set

This commit is contained in:
Andrew Kingston 2023-03-01 18:34:43 +00:00
parent 15dffb0f40
commit 4558a1c6fa
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
$: scrollLeft = $scroll.left
$: rowCount = $rows.length
$: selectedRowCount = Object.values($selectedRows).filter(x => !!x).length
$: width = 40 + $stickyColumn?.width || 0
$: width = 40 + ($stickyColumn?.width || 0)
const selectAll = () => {
const allSelected = selectedRowCount === rowCount