Fix issue when columns are not defined for a table
This commit is contained in:
parent
8481762c3c
commit
ecdc50d47b
|
@ -130,7 +130,7 @@
|
|||
allowEditColumns={false}
|
||||
showAutoColumns={true}
|
||||
disableSorting
|
||||
autoSortColumns={!columns.length}
|
||||
autoSortColumns={!columns?.length}
|
||||
on:sort={onSort}
|
||||
on:click={onClick}
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue