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 {