We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7be11c2 commit e364763Copy full SHA for e364763
DigitalLearningSolutions.Web/Views/Supervisor/ReviewSelfAssessment.cshtml
@@ -174,7 +174,7 @@
174
</div>
175
<div class="nhsuk-grid-column-full">
176
177
- @if (competency.Description != null && !competency.AlwaysShowDescription)
+ @if (!string.IsNullOrWhiteSpace(competency.Description) && !competency.AlwaysShowDescription)
178
{
179
<details class="nhsuk-details">
180
<summary class="nhsuk-details__summary">
@@ -194,7 +194,7 @@
194
<h2 class="nhsuk-u-margin-bottom-0 nhsuk-u-font-size-24">
195
@competency.Name
196
</h2>
197
- @if (competency.Description != null)
+ @if (!string.IsNullOrWhiteSpace(competency.Description))
198
199
<p class="nhsuk-body-l">
200
@(Html.Raw(competency.Description))
0 commit comments