Skip to content

Commit 737d1c8

Browse files
authored
Show view all tasks in sidebar when tasks exist (#150)
Co-authored-by: Chris Tate <ctate@users.noreply.github.com>
1 parent 1688001 commit 737d1c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/task-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ export function TaskSidebar({ tasks, onTaskSelect, width = 288 }: TaskSidebarPro
435435
</Link>
436436
)
437437
})}
438-
{tasks.length > 10 && (
438+
{tasks.length >= 1 && (
439439
<div className="pt-1">
440440
<Link href="/tasks" onClick={handleNewTaskClick}>
441441
<Button variant="ghost" size="sm" className="w-full justify-start h-7 px-2 text-xs">

0 commit comments

Comments
 (0)