fixed switch to form and back to table rows missing #343

This commit is contained in:
Jan Prochazka
2024-08-22 16:49:09 +02:00
parent 71850f8497
commit 9d4803edc7

View File

@@ -92,7 +92,7 @@
// $: grider = griderFactory(griderProps); // $: grider = griderFactory(griderProps);
function handleLoadNextData() { function handleLoadNextData() {
if (!isLoadedAll && !errorMessage && !grider.disableLoadNextPage) { if (!isLoadedAll && !errorMessage && (!grider.disableLoadNextPage || loadedRows.length == 0)) {
if (dataPageAvailable($$props)) { if (dataPageAvailable($$props)) {
// If not, callbacks to load missing metadata are dispatched // If not, callbacks to load missing metadata are dispatched
loadNextData(); loadNextData();