1
0
Fork 0
mirror of synced 2024-09-10 22:46:09 +12:00

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

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