Skip to content

Commit

Permalink
Fixed broken build after properties move to dive
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiri Pokorny committed Oct 9, 2023
1 parent dc5619b commit fe94849
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
(click)="depths.applyMaxDuration()" [class.invisible]="!dive.showMaxDuration"
id="btnApplyDuration">Max</button>
<button type="button" class="btn btn-secondary mt-2 col col-auto" (click)="depths.applyNdlDuration()"
[class.invisible]="!planner.ndlValid" id="btnApplyNdl">No deco</button>
[class.invisible]="!planner.dive.ndlValid" id="btnApplyNdl">No deco</button>
</div>
<div class="col col-12 col-md-6 col-lg-12 col-xl-6">
<app-depth></app-depth>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class DiveIssuesComponent {
}

public get noDeco(): number {
return this.plan.noDecoTime;
return this.planner.dive.noDecoTime;
}

public isLowPpO2(event: Event): boolean {
Expand Down
2 changes: 1 addition & 1 deletion projects/planner/src/app/diveinfo/diveinfo.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class DiveInfoComponent extends Streamed {
}

public get noDeco(): number {
return this.plan.noDecoTime;
return this.planner.dive.noDecoTime;
}

public get showApply(): boolean {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class ProfileChartComponent extends Streamed implements OnInit {
}

public get noDecoTime(): number {
return this.plan.noDecoTime;
return this.planer.dive.noDecoTime;
}

public ngOnInit(): void {
Expand Down

0 comments on commit fe94849

Please sign in to comment.