Skip to content

Commit

Permalink
Add placeholder reset method for model settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jmccollum-woolpert committed Apr 3, 2024
1 parent 6bdbeee commit e30da36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export class PreSolveSettingsComponent implements AfterViewInit {

onCancel(): void {
this.globalSettingsComponent.resetData();
this.shipmentSettingsComponent.resetData();
}

onSave(): void {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,10 @@ export class PreSolveShipmentModelSettingsComponent implements OnInit, OnDestroy
this.subscriptions.forEach((subscription) => subscription.unsubscribe());
}

resetData(): void {

Check failure on line 372 in application/frontend/src/app/scenario-planning/components/pre-solve-shipment-model-settings/pre-solve-shipment-model-settings.component.ts

View workflow job for this annotation

GitHub Actions / check-frontend

Unexpected empty method 'resetData'

}

initForm(): void {
this.form = this.fb.group({
globalDurationCostPerHour: [null],
Expand Down

0 comments on commit e30da36

Please sign in to comment.