Skip to content

Commit

Permalink
fix(cb2-10266): additional examiner notes date format (#1327)
Browse files Browse the repository at this point in the history
* fix(cb2-10266): fix issue with test history not displaying an date format

* fix(cb2-10226): add clear template not working and date formate to examiner note in edit

* fix(cb2-10226): fix build issues

* fix(cb2-10226): remove additional empty line

* fix(cb2-10226): remove additional empty line

---------

Co-authored-by: Shivangi Das <[email protected]>
Co-authored-by: Thomas Crawley <[email protected]>
  • Loading branch information
3 people authored Dec 15, 2023
1 parent 9dad1a9 commit a4d818b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
<th scope="col" class="govuk-table__header">Notes</th>
</tr>
<tr *ngFor="let result of value; let isLast = last">
<td class="govuk-table__cell break-words" [class.border-b-0]="isLast">{{ result.createdAtDate }}</td>
<td class="govuk-table__cell break-words" [class.border-b-0]="isLast">
{{ result.createdAtDate | date : 'dd/MM/yyyy' | defaultNullOrEmpty }}
</td>
<td class="govuk-table__cell break-words" [class.border-b-0]="isLast">{{ result.lastUpdatedBy }}</td>
<td class="govuk-table__cell break-words" [class.border-b-0]="isLast">{{ result.note }}</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<th>Notes</th>
</tr>
<tr *ngFor="let examinerNote of this.getAdditionalExaminerNotes()">
<td class="govuk-table__cell">{{ examinerNote.createdAtDate }}</td>
<td class="govuk-table__cell">{{ examinerNote.createdAtDate | date : 'dd/MM/yyyy' | defaultNullOrEmpty }}</td>
<td class="govuk-table__cell">{{ examinerNote.lastUpdatedBy }}</td>
<td class="govuk-table__cell">{{ examinerNote.note }}</td>
</tr>
Expand Down

0 comments on commit a4d818b

Please sign in to comment.