|
|
@ -200,7 +200,7 @@ const calculatePercentile = (
|
|
|
|
|
|
|
|
|
|
|
|
if (salary !== lastOfferSalary) {
|
|
|
|
if (salary !== lastOfferSalary) {
|
|
|
|
if (salary === offerToCalculateSalary && offerToCalculateIndex === -1) {
|
|
|
|
if (salary === offerToCalculateSalary && offerToCalculateIndex === -1) {
|
|
|
|
offerToCalculateIndex = i;
|
|
|
|
offerToCalculateIndex = numberOfNoDuplicateOffers;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
numberOfNoDuplicateOffers++;
|
|
|
|
numberOfNoDuplicateOffers++;
|
|
|
|
lastOfferSalary = salary;
|
|
|
|
lastOfferSalary = salary;
|
|
|
|