Skip to content

Commit

Permalink
Merge pull request #44 from pfizer-opensource/npl-fixes
Browse files Browse the repository at this point in the history
NPL calculations corrections
  • Loading branch information
ClaudiaGivan authored Oct 30, 2024
2 parents 805eec6 + a2ef7b3 commit 638c8b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/graphs/scatterplot/ScatterplotGraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class ScatterplotGraph {
this.data = data;
this.states = states;
}

/**
* Computes the dataSet for the Scatterplot and Histogram graphs.
*
Expand Down Expand Up @@ -70,6 +71,7 @@ class ScatterplotGraph {
deliveredTimestamp: ticket.delivered,
leadTime: 0,
ticketId: ticket.work_id,
ticketType: ticket.indexes?.find((i) => i.name === 'ticket_type')?.value || '',
};
for (const state of this.states) {
if (ticket[state]) {
Expand Down

0 comments on commit 638c8b8

Please sign in to comment.