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 8481762c3c
commit ecdc50d47b
1 changed files with 1 additions and 1 deletions

View File

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