diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9a45b74..a635e8b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,7 +13,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Install dependencies - run: npm install + run: npm ci - name: Build run: npm run build diff --git a/components/datasets/Filter.tsx b/components/datasets/Filter.tsx index 8c7d86f..c8fa0f9 100644 --- a/components/datasets/Filter.tsx +++ b/components/datasets/Filter.tsx @@ -150,19 +150,22 @@ const Filter = ({ data, newFilters, fq }) => { onChange={(e) => handleFilterSearch(e.target.value, filter)} /> {filterResult[filter] && - filterResult[filter].map((item: any) => ( - - ))} + filterResult[filter].map((item: any) => { + if (item.name !== 'NaN') + return ( + + ); + })}