Skip to content

Commit

Permalink
Add nullable check for incoming trust
Browse files Browse the repository at this point in the history
  • Loading branch information
elielijah321 committed Dec 19, 2023
1 parent 8db07a6 commit 34dd2c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<div id="@("incoming-trust-" + projectRow.Index)" class="govuk-!-margin-top-1">
<strong>Incoming trust:</strong>
<span if="projectRow.Item.NameOfTrust.IsEmpty()" class="empty">Empty</span>
<span if="projectRow.Item.NameOfTrust.IsPresent()">@projectRow.Item.NameOfTrust</span>
<span if="projectRow.Item.NameOfTrust.IsPresent()">@projectRow.Item.NameOfTrust?.ToTitleCase()</span>
</div>
<div id="@("advisory-board-date-" + projectRow.Index)" class="govuk-!-margin-top-1">
<strong>Advisory board date:</strong>
Expand Down

0 comments on commit 34dd2c1

Please sign in to comment.