From 95e04d625e973b96f0ab788a50ac19126d664991 Mon Sep 17 00:00:00 2001 From: Brandon Thomas-Davies <87308252+BrandonT95@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:00:29 +0000 Subject: [PATCH] feat(cb2-0000): comment out method --- .../vehicle-section-edit.component.html | 2 +- .../vehicle-section-edit.component.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/forms/custom-sections/vehicle-section/vehicle-section-edit/vehicle-section-edit.component.html b/src/app/forms/custom-sections/vehicle-section/vehicle-section-edit/vehicle-section-edit.component.html index 846e5745d..ba5654f31 100644 --- a/src/app/forms/custom-sections/vehicle-section/vehicle-section-edit/vehicle-section-edit.component.html +++ b/src/app/forms/custom-sections/vehicle-section/vehicle-section-edit/vehicle-section-edit.component.html @@ -134,7 +134,7 @@

label="Speed limiter exempt" formControlName="techRecord_speedLimiterMrk" [options]="EXEMPT_OR_NOT_OPTIONS" - [tags]="[showTagBasedOnVehicleTypes([VehicleTypes.HGV], { colour: TagType.PURPLE, label: TagTypeLabels.PLATES })]" + [tags]="[{ colour: TagType.PURPLE, label: TagTypeLabels.PLATES }]" > diff --git a/src/app/forms/custom-sections/vehicle-section/vehicle-section-edit/vehicle-section-edit.component.ts b/src/app/forms/custom-sections/vehicle-section/vehicle-section-edit/vehicle-section-edit.component.ts index b0c6005a2..b2f28e5d3 100644 --- a/src/app/forms/custom-sections/vehicle-section/vehicle-section-edit/vehicle-section-edit.component.ts +++ b/src/app/forms/custom-sections/vehicle-section/vehicle-section-edit/vehicle-section-edit.component.ts @@ -37,7 +37,7 @@ import { import { VehicleConfiguration } from '@models/vehicle-configuration.enum'; import { V3TechRecordModel, VehicleSizes, VehicleTypes } from '@models/vehicle-tech-record.model'; import { Store } from '@ngrx/store'; -import { CustomTag, FormNodeWidth, TagTypeLabels } from '@services/dynamic-forms/dynamic-form.types'; +import { FormNodeWidth, TagTypeLabels } from '@services/dynamic-forms/dynamic-form.types'; import { TechnicalRecordService } from '@services/technical-record/technical-record.service'; import { ReplaySubject } from 'rxjs'; @@ -409,7 +409,7 @@ export class VehicleSectionEditComponent implements OnInit, OnDestroy { ); } - showTagBasedOnVehicleTypes(vehicleTypes: VehicleTypes[], tagsToDisplay: CustomTag): CustomTag { - if (vehicleTypes.includes(this.getVehicleType())) return tagsToDisplay; - } + // showTagBasedOnVehicleTypes(vehicleTypes: VehicleTypes[], tagsToDisplay: CustomTag): CustomTag { + // if (vehicleTypes.includes(this.getVehicleType())) return tagsToDisplay; + // } }