@ai-matrx/design-system 0.21.7 → 0.21.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/data-table/index.js
CHANGED
|
@@ -8748,7 +8748,7 @@ function MatrxDataTableCore({
|
|
|
8748
8748
|
const appendQueryKey = appendQuery?.pagination.queryKey ?? null;
|
|
8749
8749
|
const committedAppendQueryKey = useRef13(appendQueryKey);
|
|
8750
8750
|
const appendSourceChanged = appendQuery !== null && committedAppendQueryKey.current !== appendQueryKey;
|
|
8751
|
-
const data = appendQuery ? appendQuery.pagination.rows : suppliedData;
|
|
8751
|
+
const data = (appendQuery ? appendQuery.pagination.rows : suppliedData) ?? [];
|
|
8752
8752
|
const isLoading = appendQuery ? appendQuery.pagination.loading : suppliedLoading;
|
|
8753
8753
|
const isFetching = appendQuery ? appendQuery.pagination.isFetchingNextPage : suppliedFetching;
|
|
8754
8754
|
const host = useMatrxDataTableHost();
|