diff --git a/clients/admin-ui/src/features/dataset/DatasetTable.tsx b/clients/admin-ui/src/features/dataset/DatasetTable.tsx index 0edda7f7e3..1e1fd755f6 100644 --- a/clients/admin-ui/src/features/dataset/DatasetTable.tsx +++ b/clients/admin-ui/src/features/dataset/DatasetTable.tsx @@ -10,15 +10,13 @@ import { Dataset, GenerateTypes } from "~/types/api"; import { setActiveDatasetFidesKey, - useGetAllFilteredDatasetsQuery, + useGetAllDatasetsQuery, } from "./dataset.slice"; -const DatasetsTable = () => { +const DatasetTable = () => { const dispatch = useDispatch(); const router = useRouter(); - const { data: datasets } = useGetAllFilteredDatasetsQuery({ - onlyUnlinkedDatasets: false, - }); + const { data: datasets } = useGetAllDatasetsQuery(); const features = useFeatures(); usePollForClassifications({ resourceType: GenerateTypes.DATASETS, @@ -88,4 +86,4 @@ const DatasetsTable = () => { ); }; -export default DatasetsTable; +export default DatasetTable;