diff --git a/client/src/pages/home/filters.jsx b/client/src/pages/home/filters.jsx index c7fa6211..a861ca8b 100644 --- a/client/src/pages/home/filters.jsx +++ b/client/src/pages/home/filters.jsx @@ -30,7 +30,6 @@ export default function Filters({ sendQuery }) { dataIdentifiers: identifiers, datasources: sources.map((source) => source.key), endYear: '2021', - moreOptions: false, startYear: '2021', }); } else { @@ -39,7 +38,6 @@ export default function Filters({ sendQuery }) { dataIdentifiers: searchParams.getAll('dataIdentifiers'), datasources: searchParams.getAll('datasources'), endYear: searchParams.get('endYear'), - moreOptions: searchParams.get('moreOptions')?.toString() === 'true', startYear: searchParams.get('startYear'), }); } @@ -118,41 +116,29 @@ export default function Filters({ sendQuery }) { - { - currentSearchParams.moreOptions && ( - - { - currentSearchParams.datasources.includes('bso') && ( - <> - BSO Identifiers: - - { - identifiers.map((identifier) => ( - onIdentifiersChange(identifier)} - size="sm" - /> - )) - } - - - ) - } - - ) - } + + { + currentSearchParams.datasources.includes('bso') && ( + <> + BSO Identifiers: + + { + identifiers.map((identifier) => ( + onIdentifiersChange(identifier)} + size="sm" + /> + )) + } + + + ) + } + -