diff --git a/src/components/dataTable/DataTable.js b/src/components/dataTable/DataTable.js index 118ecbb9b..5537325e5 100644 --- a/src/components/dataTable/DataTable.js +++ b/src/components/dataTable/DataTable.js @@ -96,7 +96,7 @@ const DataTable = ({ } // the initial fetch is happening, show spinner, don't render the table yet - if (isLoading) { + if (isLoading || isFetching) { return ; } @@ -138,7 +138,7 @@ const DataTable = ({ if (column.filterable) { column.filter = customFilter(); - // Text filters set column.filterable to true all over + // Text filters set column.filterable to true if (typeof column.filterable == "boolean") { column.filterRenderer = (onFilter, column) => (