Removed console.log lines which were only needed for testing.

This commit is contained in:
Alex Williams
2024-06-02 11:43:23 +01:00
parent bd2e6eaf51
commit 4efc47dff0

View File

@@ -260,13 +260,11 @@ export default class ModalShoppingList extends TranslatedComponent {
if (!module.m.blueprint.grades[g].components.hasOwnProperty(i)) {
continue;
}
console.log("Grade: " + g + " Component: " + i + " Amount: " + module.m.blueprint.grades[g].components[i] + " Rolls: " + this.state.matsPerGrade[g])
if (mats[i]) {
mats[i] += module.m.blueprint.grades[g].components[i] * this.state.matsPerGrade[g];
} else {
mats[i] = module.m.blueprint.grades[g].components[i] * this.state.matsPerGrade[g];
}
console.log(mats[i])
}
}
if (module.m.blueprint.special) {