Skip to content

Commit 43a687d

Browse files
committed
fix: add "blockPaginationOnLoading" props to the afcl table and abort signal to the data callback, so user can stop execution of his logic[2]
1 parent 1a9beb5 commit 43a687d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adminforth/spa/src/afcl/Table.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@
300300
if (isAtLeastOneLoading.value.every(v => v === false)) {
301301
isLoading.value = false;
302302
}
303+
if(abortController.signal.aborted) return;
303304
dataResult.value = result;
304305
} else if (typeof props.data === 'object' && Array.isArray(props.data)) {
305306
const start = (currentPage.value - 1) * props.pageSize;

0 commit comments

Comments
 (0)