From fe94849be18543c88c69678b77b875f0c56c959d Mon Sep 17 00:00:00 2001 From: Jiri Pokorny Date: Mon, 9 Oct 2023 18:26:29 +0200 Subject: [PATCH] Fixed broken build after properties move to dive --- .../planner/src/app/depths-simple/depths-simple.component.html | 2 +- projects/planner/src/app/dive-issues/dive-issues.component.ts | 2 +- projects/planner/src/app/diveinfo/diveinfo.component.ts | 2 +- projects/planner/src/app/profilechart/profilechart.component.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/planner/src/app/depths-simple/depths-simple.component.html b/projects/planner/src/app/depths-simple/depths-simple.component.html index 0414130c..241de37e 100644 --- a/projects/planner/src/app/depths-simple/depths-simple.component.html +++ b/projects/planner/src/app/depths-simple/depths-simple.component.html @@ -18,7 +18,7 @@ (click)="depths.applyMaxDuration()" [class.invisible]="!dive.showMaxDuration" id="btnApplyDuration">Max + [class.invisible]="!planner.dive.ndlValid" id="btnApplyNdl">No deco
diff --git a/projects/planner/src/app/dive-issues/dive-issues.component.ts b/projects/planner/src/app/dive-issues/dive-issues.component.ts index f28aa932..110b4d7c 100644 --- a/projects/planner/src/app/dive-issues/dive-issues.component.ts +++ b/projects/planner/src/app/dive-issues/dive-issues.component.ts @@ -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 { diff --git a/projects/planner/src/app/diveinfo/diveinfo.component.ts b/projects/planner/src/app/diveinfo/diveinfo.component.ts index 19d995ee..b71531a5 100644 --- a/projects/planner/src/app/diveinfo/diveinfo.component.ts +++ b/projects/planner/src/app/diveinfo/diveinfo.component.ts @@ -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 { diff --git a/projects/planner/src/app/profilechart/profilechart.component.ts b/projects/planner/src/app/profilechart/profilechart.component.ts index 63d050ae..0ea7777d 100644 --- a/projects/planner/src/app/profilechart/profilechart.component.ts +++ b/projects/planner/src/app/profilechart/profilechart.component.ts @@ -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 {