Skip to content

Commit

Permalink
Refactor getCalculatedPriorityImplementation function to remove unnec…
Browse files Browse the repository at this point in the history
…essary addition
  • Loading branch information
hrenaud committed Feb 28, 2024
1 parent fec0387 commit 6cea914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function responsiveSequence(first, last, size = 16) {
* @returns {number} The calculated priority.
*/
export function getCalculatedPriorityImplementation(moe, environmental_impact) {
return Math.ceil(((moe * environmental_impact) / 25) * 5) + 1;
return Math.ceil(((moe * environmental_impact) / 25) * 5);
}

/**
Expand Down

0 comments on commit 6cea914

Please sign in to comment.