Skip to content

Commit

Permalink
Revert "mes-10008: hide mot functionality (#1763)"
Browse files Browse the repository at this point in the history
This reverts commit 7eda30c.
  • Loading branch information
andrewsetterfield authored Oct 1, 2024
1 parent 7eda30c commit 8fce968
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ <h2 class="des-header-style-4" id="view-test-result-vehicle-details-title">Vehic
<data-row-custom
[shouldHaveSeperator]="data.motEvidenceProvided || vehicleDetails"
[centredData]="true"
[label]="'MOT Status'"
*ngIf="motFeatureFlag">
[label]="'MOT Status'">
<div class="ion-no-padding" *ngIf="!(data?.motStatus)">
<ion-text class="mes-data">{{getNoMOTDataText()}}</ion-text>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ export class VehicleDetailsCardComponent {
@Input()
instructorDetails: CatBUniqueTypes.InstructorDetails = null;

//TODO mes-10009 - remove this feature flag
motFeatureFlag = false;

public shouldHideCard(): boolean {
return (
!this.transmission &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<ion-col class="ion-align-self-center mes-padding-left">
<ion-row class="spacing-row"></ion-row>
<ion-row>
<ion-col class="display-flex ion-align-items-center" [size]="isRekeyMode || !motFeatureFlag ? 57 : 45">
<ion-col class="display-flex ion-align-items-center" [size]="isRekeyMode ? 57 : 45">
<ion-input
type="text"
id="registration"
Expand All @@ -30,7 +30,7 @@
pasteSanitiser
></ion-input>
</ion-col>
<ion-col class="display-flex ion-align-items-center" *ngIf="!isRekeyMode && motFeatureFlag" [size]="getMOTButtonColSize(accessibilityService.getTextZoomClass())">
<ion-col class="display-flex ion-align-items-center" *ngIf="!isRekeyMode" [size]="getMOTButtonColSize(accessibilityService.getTextZoomClass())">
<ion-button
[disabled]="shouldDisableMOTButton()"
class="mes-grey-button"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ export class VehicleRegistrationComponent implements OnChanges {
isVRNAmended = false;
practiceModeModalIsActive = false;

//TODO mes-10009 - remove this feature flag
motFeatureFlag = false;

readonly registrationNumberValidator: FieldValidators = getRegistrationNumberValidator();

constructor(
Expand Down

0 comments on commit 8fce968

Please sign in to comment.