Here, the 2021 phase doesn't have tickets, but it's child Bundling phase does.

Both should be viable targets for the Phase selection, however.
|
tickets.map(ticket => { |
|
if (projectName === ticket.project.name && companyName === ticket.company.name) { |
|
phases.push({ |
|
path: ticket.phase.path, |
|
id: ticket.phase.id, |
|
}); |
|
} |
|
}); |
Here, the 2021 phase doesn't have tickets, but it's child Bundling phase does.
Both should be viable targets for the Phase selection, however.
UnwiseConnect/src/components/Tickets/helpers.js
Lines 8 to 15 in b705f53