Fix: affichage coef bonus. Closes #382

This commit is contained in:
Emmanuel Viennet 2022-06-25 08:22:08 +02:00
parent ca5fd33e4e
commit d776bdca66

View File

@ -35,7 +35,7 @@ function build_table(data) {
${cellule.data}
</div>`;
if (cellule.editable) {
if (cellule.style.includes("champs")) {
sumsRessources[cellule.y] = (sumsRessources[cellule.y] ?? 0) + (parseFloat(cellule.data) || 0);
sumsUE[cellule.x] = (sumsUE[cellule.x] ?? 0) + (parseFloat(cellule.data) || 0);
}