Skip to content

Commit 208d8c5

Browse files
authored
fix no libraries placeholder when failing filter is active (#100)
1 parent dbec0de commit 208d8c5

5 files changed

Lines changed: 738 additions & 706 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
"eslint-plugin-import": "^2.32.0",
2424
"eslint-plugin-jest": "^29.15.2",
2525
"eslint-plugin-prettier": "^5.5.6",
26-
"globals": "^17.6.0",
26+
"globals": "^17.7.0",
2727
"jest": "^30.4.2",
2828
"prettier": "^3.8.4",
2929
"typescript": "^6.0.3",
30-
"typescript-eslint": "^8.61.1"
30+
"typescript-eslint": "^8.62.0"
3131
},
3232
"resolutions": {
3333
"postcss": "^8.5.15"

website/components/Table.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ export default function Table({ platform }: Props) {
194194
) : (
195195
<tr>
196196
<td className="text-center text-secondary/50 py-6" colSpan={8}>
197-
No libraries matching "{query}" query.
197+
{query.length === 0 && displayMode === 'failing'
198+
? 'No libraries failing the checks.'
199+
: `No libraries matching "${query}" query.`}
198200
</td>
199201
</tr>
200202
)}

website/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"data:fetch": "node ./scripts/fetch-data.mjs"
1414
},
1515
"dependencies": {
16-
"@radix-ui/react-tooltip": "^1.2.9",
16+
"@radix-ui/react-tooltip": "^1.2.10",
1717
"@tanstack/react-table": "^8.21.3",
1818
"next": "^16.2.9",
1919
"next-themes": "^0.4.6",
@@ -24,7 +24,7 @@
2424
"devDependencies": {
2525
"@next/eslint-plugin-next": "16.2.9",
2626
"@svgr/webpack": "^8.1.0",
27-
"@tailwindcss/postcss": "^4.3.0",
27+
"@tailwindcss/postcss": "^4.3.1",
2828
"@types/node": "^24.12.4",
2929
"@types/react": "^19.2.17",
3030
"@types/react-dom": "^19.2.3",
@@ -33,6 +33,6 @@
3333
"eslint-plugin-react": "^7.37.5",
3434
"eslint-plugin-svgo": "^0.12.0",
3535
"firebase-admin": "^14.0.0",
36-
"tailwindcss": "^4.3.0"
36+
"tailwindcss": "^4.3.1"
3737
}
3838
}

0 commit comments

Comments
 (0)