Skip to content

The VS Code of video editing, built for agents.

TypeScript

feat: display all sorted projects instead of limiting to a maximum visible count

konstantin-paulus852b3d5138b9
diff --git a/apps/web/src/components/dashboard/projects-view.tsx b/apps/web/src/components/dashboard/projects-view.tsx
index 278f94ca..cdb39826 100644
--- a/apps/web/src/components/dashboard/projects-view.tsx
+++ b/apps/web/src/components/dashboard/projects-view.tsx
@@ -155,7 +155,7 @@ export function DashboardProjectsView() {
</DashboardCardPreview>
<DashboardCardMeta title="New project" />
</DashboardCardButton>
- <For each={sortedProjects().slice(0, MAX_VISIBLE_PROJECTS)}>
+ <For each={sortedProjects()}>
{(project) => (
<DashboardProjectCard
project={project}
@@ -184,5 +184,3 @@ const SORT_OPTIONS: Array<{ id: ProjectSortOption; label: string }> = [
{ id: "alphabetical", label: "Alphabetical" },
{ id: "date-created", label: "Date created" },
];
-
-const MAX_VISIBLE_PROJECTS = 11;