Skip to content

Commit

Permalink
linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
acatchpole committed Jun 20, 2024
1 parent c72b493 commit 92c052a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
</label>
<select name="typeCode" id="typeCode" formControlName="typeCode" class="form-control">
<option *ngFor="let typeCode of permitTypes" [ngValue]="typeCode">
{{ typeCode === 'OGP' ? 'Original Permit' : typeCode === 'ALG' ? 'Amalgamated Permit' : 'Permit Amendment' }}
{{
typeCode === 'OGP' ? 'Original Permit' : typeCode === 'ALG' ? 'Amalgamated Permit' : 'Permit Amendment'
}}
</option>
</select>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class MinesRecordAddComponent implements OnInit, OnDestroy {
return item.displayName;
})
.sort();
public permitTypes = ['ALG','OGP', 'AMD'];
public permitTypes = ['ALG', 'OGP', 'AMD'];

// Documents
public documents = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ <h2 class="border-0 mb-0">Edit record</h2>
<label for="typeCode">Permit Type</label>
<select name="typeCode" id="typeCode" formControlName="typeCode" class="form-control">
<option *ngFor="let typeCode of permitTypes" [ngValue]="typeCode">
{{ typeCode === 'OGP' ? 'Original Permit' : typeCode === 'ALG' ? 'Amalgamated Permit' : 'Permit Amendment' }}
{{
typeCode === 'OGP' ? 'Original Permit' : typeCode === 'ALG' ? 'Amalgamated Permit' : 'Permit Amendment'
}}
</option>
</select>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class MinesRecordsEditComponent implements OnInit {
return item.displayName;
})
.sort();
public permitTypes = ['ALG','OGP', 'AMD'];
public permitTypes = ['ALG', 'OGP', 'AMD'];

public recordAgencies = Picklists.collectionAgencyCodePicklist;

Expand Down

0 comments on commit 92c052a

Please sign in to comment.