Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SamDudley committed Feb 4, 2025
1 parent c70006e commit c460f60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion front_end/src/Components/AggregateValue/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const AggregateValue = ({ rowIndex, actualsOnly, extraClasses }) => {
let total = 0;

for (let i = 1; i < 13; i++) {
if (!cells[i] || (actualsOnly && cells[i].isActual)) {
if (!cells[i] || (actualsOnly && !cells[i].isActual)) {
continue;
}

Expand Down
2 changes: 1 addition & 1 deletion front_end/src/Components/TotalAggregate/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const TotalAggregate = ({ actualsOnly, id, extraClasses }) => {
// eslint-disable-next-line
for (const cell of cells) {
for (let i = 1; i < 13; i++) {
if (!cell[i] || (actualsOnly && cell[i].isActual)) {
if (!cell[i] || (actualsOnly && !cell[i].isActual)) {
continue;
}

Expand Down

0 comments on commit c460f60

Please sign in to comment.