Skip to content

Commit

Permalink
add is null check for region just incase
Browse files Browse the repository at this point in the history
  • Loading branch information
elielijah321 committed Dec 18, 2023
1 parent 832630c commit 1286a53
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
</div>
}
<div id="@("region-" + projectRow.Index)" class="govuk-!-margin-top-1">
<strong>Region:</strong>
@projectRow.Item.Region
<strong>Region:</strong>
<span if="projectRow.Item.Region.IsEmpty()" class="empty">Empty</span>
<strong if="projectRow.Item.Region.IsPresent()">@projectRow.Item.Region</strong>
</div>
<div id="@("incoming-trust-" + projectRow.Index)" class="govuk-!-margin-top-1">
<strong>Incoming trust:</strong>
Expand Down

0 comments on commit 1286a53

Please sign in to comment.