Skip to content

Commit

Permalink
Updating DatasetTable to return all datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
galvana committed Sep 15, 2023
1 parent 0f74db2 commit 8a82753
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions clients/admin-ui/src/features/dataset/DatasetTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -88,4 +86,4 @@ const DatasetsTable = () => {
);
};

export default DatasetsTable;
export default DatasetTable;

0 comments on commit 8a82753

Please sign in to comment.