Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions loom/webui/frontend/src/components/Column.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface ColumnProps {
status: EnvelopeStatus
envelopes: Envelope[]
selectedId: string | null
onSelect: (id: string) => void
onSelect: (id: string | null) => void
}

const STATUS_TOKEN: Record<EnvelopeStatus, { bg: string; dot: string; label: string }> = {
Expand Down Expand Up @@ -66,7 +66,7 @@ export function Column({ title, status, envelopes, selectedId, onSelect }: Colum
<EnvelopeCard
envelope={e}
active={e.id === selectedId}
onClick={() => onSelect(e.id)}
onClick={() => onSelect(e.id === selectedId ? null : e.id)}
/>
</li>
))}
Expand Down
2 changes: 1 addition & 1 deletion loom/webui/frontend/src/components/KanbanBoard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface KanbanBoardProps {
envelopes: Envelope[]
showArchived: boolean
selectedId: string | null
onSelect: (id: string) => void
onSelect: (id: string | null) => void
onCloseDetail: () => void
}

Expand Down
Loading