Merged in release/2022-03-18 (pull request #427)

IO-1777 add check for paint materials threshold.
This commit is contained in:
Patrick Fic
2022-03-18 22:19:43 +00:00

View File

@@ -236,7 +236,7 @@ function CalculateRatesTotals(ratesList) {
}
let threshold;
//Check if there is a max for this type.
if (ratesList.materials[property]) {
if (ratesList.materials && ratesList.materials[property]) {
//
if (
ratesList.materials[property].cal_maxdlr &&