Skip to content

Commit 30db9ff

Browse files
committed
Revert "Revert "TD-2459 Show sign off button when reconfirmed the results of self assessments""
This reverts commit 312df75.
1 parent 37434cf commit 30db9ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/SelfAssessmentOverview.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
</p>
178178
</div>
179179
}
180-
@if (!Model.SupervisorSignOffs.Any()) {
180+
@if (!Model.SupervisorSignOffs.Any() || latestResult > latestSignoff) {
181181
<a class="nhsuk-button nhsuk-button--secondary nhsuk-u-margin-bottom-2"
182182
asp-action="RequestSignOff"
183183
asp-route-vocabulary="@Model.SelfAssessment.Vocabulary"

0 commit comments

Comments
 (0)