Fix issue when columns are not defined for a table

This commit is contained in:
Andrew Kingston 2022-02-18 13:22:04 +00:00
parent 9f92ee2d0b
commit 35f95d2fb3
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@
allowEditColumns={false} allowEditColumns={false}
showAutoColumns={true} showAutoColumns={true}
disableSorting disableSorting
autoSortColumns={!columns.length} autoSortColumns={!columns?.length}
on:sort={onSort} on:sort={onSort}
on:click={onClick} on:click={onClick}
> >