Skip to content

Commit f3c68bf

Browse files
feat(scripts): always show Newest carousel regardless of filters; allow duplicates when filters active (#195) (#202)
1 parent f8d3b5b commit f3c68bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/_components/ScriptsGrid.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,8 @@ export function ScriptsGrid({ onInstallScript }: ScriptsGridProps) {
651651
onViewModeChange={setViewMode}
652652
/>
653653

654-
{/* Newest Scripts Carousel - Only show when no filters are active */}
655-
{!hasActiveFilters && newestScripts.length > 0 && (
654+
{/* Newest Scripts Carousel - Always show when there are newest scripts */}
655+
{newestScripts.length > 0 && (
656656
<div className="mb-8">
657657
<div className="bg-card border-l-4 border-l-primary border border-border rounded-lg p-6 shadow-lg">
658658
<div className="flex items-center justify-between mb-4">

0 commit comments

Comments
 (0)