Skip to content

Commit

Permalink
Rename variable for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Feb 13, 2024
1 parent 1c46fd3 commit 3a1dab0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/scripts/components/data-catalog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import {
} from '$utils/veda-data';
import { DatasetClassification } from '$components/common/dataset-classification';

const allDatasets = Object.values(datasets).map((d) => d!.data);
const allDatasetsForCatalog = Object.values(datasets).map((d) => d!.data);

const DatasetCount = styled(Subtitle)`
grid-column: 1 / -1;
Expand Down Expand Up @@ -137,7 +137,7 @@ function DataCatalog() {

const displayDatasets = useMemo(
() =>
prepareDatasets(allDatasets, {
prepareDatasets(allDatasetsForCatalog, {
search,
taxonomies,
sortField,
Expand Down Expand Up @@ -193,7 +193,7 @@ function DataCatalog() {
count={displayDatasets.length}
showCount={true}
/>{' '}
out of {allDatasets.length}.
out of {allDatasetsForCatalog.length}.
</span>
{isFiltering && (
<Button forwardedAs={Link} to={DATASETS_PATH} size='small'>
Expand Down

0 comments on commit 3a1dab0

Please sign in to comment.