Skip to content

Commit

Permalink
[ML] Transforms: Pagination in the source documents data grid fix (el…
Browse files Browse the repository at this point in the history
…astic#196119)

## Summary

Fix for: [elastic#195881](elastic#195881)

After:
It's hardly visible in the recording, but if you look at the
`@timestamp` column, you can see that the values are changing correctly
while navigating to a previous page, which was not the case before the
fix.


https://github.com/user-attachments/assets/33be9e8c-e558-4f48-994a-562c4e3788de
  • Loading branch information
rbrtj authored Oct 14, 2024
1 parent 71de0a7 commit 1489396
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export const useIndexData = (options: UseIndexDataOptions): UseIndexDataReturnTy
setStatus(INDEX_STATUS.LOADED);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [dataGridDataError, dataGridDataIsError, dataGridDataIsLoading]);
}, [dataGridDataError, dataGridDataIsError, dataGridDataIsLoading, dataGridData]);

const allDataViewFieldNames = new Set(dataView.fields.map((f) => f.name));
const { error: histogramsForFieldsError, data: histogramsForFieldsData } =
Expand Down

0 comments on commit 1489396

Please sign in to comment.