Skip to content

Commit 638c8b8

Browse files
authored
Merge pull request #44 from pfizer-opensource/npl-fixes
NPL calculations corrections
2 parents 805eec6 + a2ef7b3 commit 638c8b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/graphs/scatterplot/ScatterplotGraph.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class ScatterplotGraph {
4141
this.data = data;
4242
this.states = states;
4343
}
44+
4445
/**
4546
* Computes the dataSet for the Scatterplot and Histogram graphs.
4647
*
@@ -70,6 +71,7 @@ class ScatterplotGraph {
7071
deliveredTimestamp: ticket.delivered,
7172
leadTime: 0,
7273
ticketId: ticket.work_id,
74+
ticketType: ticket.indexes?.find((i) => i.name === 'ticket_type')?.value || '',
7375
};
7476
for (const state of this.states) {
7577
if (ticket[state]) {

0 commit comments

Comments
 (0)