diff --git a/ondeck/src/app/(dashboard)/tasks/page-client.tsx b/ondeck/src/app/(dashboard)/tasks/page-client.tsx index e12b01b..4de4aa8 100644 --- a/ondeck/src/app/(dashboard)/tasks/page-client.tsx +++ b/ondeck/src/app/(dashboard)/tasks/page-client.tsx @@ -790,99 +790,102 @@ export function TasksClient({ initialTasks, currentUserId, isPrivileged, users } {/* Sort / filter / status header */}
-
- {/* Sort & column filter controls */} -
- {([ - ['client', 'Client'], - ['date', 'Date'], - ['type', 'Type'], - ['priority', 'Level'], - ] as const).map(([key, label]) => ( +
+ {/* Sort buttons */} + {([ + ['client', 'Client'], + ['date', 'Date'], + ['type', 'Type'], + ['priority', 'Level'], + ] as const).map(([key, label]) => ( + + ))} + + {/* Spacer pushes right side */} + + + {/* Type filter */} + + + {/* Priority filter */} + + + {(typeFilter !== 'all' || priorityFilter !== 'all') && ( + + )} + + + + {/* Transfer button */} + {isPrivileged && visibleTasks.length > 0 && ( + + )} + + {/* Assigned / Completed / All */} +
+ {(['assigned', 'completed', 'all'] as const).map((f) => ( ))} - - - - - - - - {(typeFilter !== 'all' || priorityFilter !== 'all') && ( - - )} -
- - {/* Right side: Transfer + Assigned/Completed/All */} -
- {isPrivileged && visibleTasks.length > 0 && ( - - )} -
- {(['assigned', 'completed', 'all'] as const).map((f) => ( - - ))} -