Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
williamlardier committed Mar 26, 2024
1 parent 0c20ab2 commit fc3f28a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CountItems/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ function consolidateDataMetrics(target, source) {
resTarget.usedCapacity.nonCurrent += usedCapacity
? usedCapacity._nonCurrentCold + usedCapacity._nonCurrentRestored + usedCapacity._nonCurrentRestoring : 0;
resTarget.objectCount.current += objectCount
? objectCount._currentCold + objectCount._currentRestored + objectCount._currentRestored : 0;
? objectCount._currentCold + objectCount._currentRestored + objectCount._currentRestoring : 0;
resTarget.objectCount.nonCurrent += objectCount
? objectCount._nonCurrentCold + objectCount._nonCurrentRestored + objectCount._nonCurrentRestored : 0;
? objectCount._nonCurrentCold + objectCount._nonCurrentRestored + objectCount._nonCurrentRestoring : 0;

return resTarget;
}
Expand Down

0 comments on commit fc3f28a

Please sign in to comment.