Skip to content

Commit

Permalink
fix: #465 - Remove init-cap formatting from FOM name (#473)
Browse files Browse the repository at this point in the history
Remove 'titlecase' pipe from project name. Show as it is entered.
  • Loading branch information
ianliuwk1019 authored Oct 11, 2023
1 parent cad7202 commit 95f85a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion admin/src/app/foms/fom-detail/fom-detail.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h1>FOM ID: {{project.id}}</h1>
<section>
<h2>Name</h2>
<p class="mb-0"
[innerHTML]="project.name ? (project.name | titlecase) : '<em>No applicant on this file</em>'"></p>
[innerHTML]="project.name ? project.name : '<em>No applicant on this file</em>'"></p>
</section>
<section>
<h2>Description</h2>
Expand Down
2 changes: 1 addition & 1 deletion admin/src/app/foms/summary/summary.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1>Summary for FOM ID: {{project?.id}}</h1>
<section class="project-info">
<div>
<h4>Name</h4>
{{project?.name | titlecase}}
{{project?.name}}
</div>

<div>
Expand Down
2 changes: 1 addition & 1 deletion admin/src/app/search/search.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h2 *ngIf="!searching && count > 0">
<strong>{{project.id }}</strong>
</td>
<td
[innerHTML]="project.name ? (project.name | titlecase) : '<em>No FOM name on this File</em>'">
[innerHTML]="project.name ? project.name : '<em>No FOM name on this File</em>'">
</td>
<td>
{{project.fspId}}
Expand Down

0 comments on commit 95f85a7

Please sign in to comment.