Skip to content

Commit

Permalink
Merge pull request #1731 from bcgov/feature/ALCS-1993
Browse files Browse the repository at this point in the history
Use lowest decision date as minimum instead of highest
  • Loading branch information
dhaselhan authored May 30, 2024
2 parents b834b16 + 4e20949 commit 1db0dba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export class DecisionInputV2Component implements OnInit, OnDestroy {
minDate = decision.date;
}

if (minDate && decision.date && decision.date > minDate) {
if (minDate && decision.date && decision.date < minDate) {
minDate = decision.date;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class DecisionInputV2Component implements OnInit, OnDestroy {
minDate = decision.date;
}

if (minDate && decision.date && decision.date > minDate) {
if (minDate && decision.date && decision.date < minDate) {
minDate = decision.date;
}

Expand Down

0 comments on commit 1db0dba

Please sign in to comment.