MCPcopy
hub / github.com/Peppermint-Lab/peppermint / handleAssigneeToggle

Function handleAssigneeToggle

apps/client/pages/issues/open.tsx:137–143  ·  view source on GitHub ↗
(assignee: string)

Source from the content-addressed store, hash-verified

135 };
136
137 const handleAssigneeToggle = (assignee: string) => {
138 setSelectedAssignees((prev) =>
139 prev.includes(assignee)
140 ? prev.filter((a) => a !== assignee)
141 : [...prev, assignee]
142 );
143 };
144
145 const filteredTickets = data
146 ? data.tickets.filter((ticket) => {

Callers 1

TicketsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected