Skip to content

Commit

Permalink
Fix data download (#1162)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinlu3 authored Oct 4, 2024
1 parent d118700 commit 7867383
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/webapp/app/pages/apiAccessGroup/APIAccessPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import AuthenticationStore from 'app/store/AuthenticationStore';
import { Linkout } from 'app/shared/links/Linkout';
import { If, Then, Else } from 'react-if';
import { getPageTitle } from 'app/shared/utils/Utils';
import { has } from 'app/shared/utils/LodashUtils';
import { Helmet } from 'react-helmet-async';

type DownloadAvailabilityWithDate = DataRelease & DownloadAvailability;
Expand Down Expand Up @@ -109,7 +108,7 @@ export default class APIAccessPage extends React.Component<{
// do not provide data on version 1
return DATA_RELEASES.filter(
release =>
has(availableVersions, release.version) &&
availableVersions[release.version] &&
!release.version.startsWith('v1')
).reduce((acc, next) => {
const currentVersionData: DownloadAvailability =
Expand Down

0 comments on commit 7867383

Please sign in to comment.