Skip to content

Commit

Permalink
Merge pull request #924 from bcgov/feature/ALCS-1079
Browse files Browse the repository at this point in the history
Bug Fixes
  • Loading branch information
dhaselhan authored Aug 30, 2023
2 parents 29aaa7f + 3f81428 commit 4217fda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@ export class DecisionComponentsComponent implements OnInit, OnDestroy, AfterView
if (application) {
this.application = application;
this.application.submittedApplication = await this.submissionService.fetchSubmission(application.fileNumber);
await this.prepareDecisionComponentTypes(this.codes);
}
});

this.prepareDecisionComponentTypes(this.codes);

// validate components on load
setTimeout(() => this.onChange(), 0);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,10 @@ export class DecisionComponentsComponent implements OnInit, OnDestroy, AfterView
if (noticeOfIntent) {
this.noticeOfIntent = noticeOfIntent;
this.noticeOfIntentSubmission = await this.submissionService.fetchSubmission(noticeOfIntent.fileNumber);
await this.prepareDecisionComponentTypes(this.codes);
}
});

this.prepareDecisionComponentTypes(this.codes);

// validate components on load
setTimeout(() => this.onChange(), 0);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ export class ApplicationTimelineService {
applicationUuid: application.uuid,
},
relations: {
type: true,
reviewOutcome: true,
card: {
subtasks: {
type: true,
Expand Down Expand Up @@ -270,6 +272,7 @@ export class ApplicationTimelineService {
type: true,
},
},
reviewOutcome: true,
},
order: {
submittedDate: 'DESC',
Expand Down

0 comments on commit 4217fda

Please sign in to comment.