Fix issue when columns are not defined for a table
This commit is contained in:
parent
9f92ee2d0b
commit
35f95d2fb3
|
@ -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}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue