Removing debugging console.log entries that are no longer needed for EDOMH fix

This commit is contained in:
Alex Williams
2024-06-07 18:24:57 +01:00
parent ca91401507
commit 06552dd860

View File

@@ -248,8 +248,6 @@ export default class ModalShoppingList extends TranslatedComponent {
} }
let JSONString = JSON.stringify(baseJson) let JSONString = JSON.stringify(baseJson)
console.log(JSONString)
console.log(ship)
let deflated = zlib.deflateSync(JSONString) let deflated = zlib.deflateSync(JSONString)
//actually encode //actually encode
@@ -285,13 +283,11 @@ export default class ModalShoppingList extends TranslatedComponent {
if (!module.m.blueprint.grades[g].components.hasOwnProperty(i)) { if (!module.m.blueprint.grades[g].components.hasOwnProperty(i)) {
continue; continue;
} }
console.log("Grade: " + g + " Component: " + i + " Amount: " + module.m.blueprint.grades[g].components[i] + " Rolls: " + this.state.matsPerGrade[g])
if (mats[i]) { if (mats[i]) {
mats[i] += module.m.blueprint.grades[g].components[i] * this.state.matsPerGrade[g]; mats[i] += module.m.blueprint.grades[g].components[i] * this.state.matsPerGrade[g];
} else { } else {
mats[i] = module.m.blueprint.grades[g].components[i] * this.state.matsPerGrade[g]; mats[i] = module.m.blueprint.grades[g].components[i] * this.state.matsPerGrade[g];
} }
console.log(mats[i])
} }
} }
if (module.m.blueprint.special) { if (module.m.blueprint.special) {