1
0
Fork 0
mirror of synced 2024-07-06 06:50:49 +12:00

Fix table crash when data is null

This commit is contained in:
Andrew Kingston 2021-09-29 15:25:44 +01:00
parent 1c93ae509e
commit c5f0a2b34b

View file

@ -64,7 +64,7 @@
)
// Reset state when data changes
$: data.length, reset()
$: rows.length, reset()
const reset = () => {
nextScrollTop = 0
scrollTop = 0