Commit 244d67f
authored
fix(dashboard): always load marketplace skills even without search keyword (librefang#2243)
searchQuery was gated on !!searchKeyword, so opening the marketplace
tab with no input disabled the query and showed an empty state. The
queryFn already had a '|| "python"' fallback that never executed.
- Remove the searchKeyword guard from enabled; query now always runs in
marketplace mode
- Extract effectiveKeyword so queryKey matches the actual request,
fixing stale-cache mismatches
- Show a helpful description on empty state: 'Browse is temporarily
unavailable. Try searching above.' when browse results are empty
(ClawHub /api/v1/skills returns empty server-side, fixes librefang#2230)1 parent 48c7c40 commit 244d67f
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
372 | 374 | | |
373 | | - | |
374 | | - | |
| 375 | + | |
| 376 | + | |
375 | 377 | | |
376 | | - | |
| 378 | + | |
377 | 379 | | |
378 | 380 | | |
379 | 381 | | |
| |||
735 | 737 | | |
736 | 738 | | |
737 | 739 | | |
738 | | - | |
| 740 | + | |
739 | 741 | | |
740 | 742 | | |
741 | 743 | | |
| |||
0 commit comments