Skip to content

Commit

Permalink
Fixed typo on Exhausted lots
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcameron committed Aug 27, 2020
1 parent 816b85e commit 2a1d764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/js/services/LotService.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function LotService(Api, $http, util) {
lots.near_expiration = false;
lots.at_risk = false;
if (lot.quantity <= 0) {
lot.exhaused = true;
lot.exhausted = true;
} else if (lot.lifetime < 0) {
// Equivalent to: lot.quantity > 0 && lot.lifetime < 0
lot.expired = true;
Expand Down

0 comments on commit 2a1d764

Please sign in to comment.