Fix showing 1px new row component when no columns exist

This commit is contained in:
Andrew Kingston 2023-04-24 16:14:47 +01:00
parent 4162600950
commit 975cb867ee
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
{#each $renderedRows as row, idx}
<GridRow {row} {idx} invertY={idx >= $rowVerticalInversionIndex} />
{/each}
{#if $config.allowAddRows}
{#if $config.allowAddRows && $renderedColumns.length}
<div
class="blank"
class:highlighted={$hoveredRowId === BlankRowID}