Skip to content

Commit 643456f

Browse files
committed
Fix dynamic message text
1 parent b348c2f commit 643456f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/wfprev-war/src/main/angular/src/app/components/wfprev-performance-update-modal-window/wfprev-performance-update-modal-window.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<p mat-dialog-title class="risk-breakdown-title">Budget Risk Breakdown</p>
7070
<div class="modal-window-row">
7171
<p class="section-description">Provide a breakdown of the total budget risks. All values must add up to the
72-
{{'{'}}<b>Current/Revised</b>{{'}'}} <b>forecast</b> amount as this information is used to identify how much of the overall
72+
<b>{{revisedForecastControl.value && revisedForecastControl.value > 0 ? 'Revised' : 'Current'}} forecast</b> amount as this information is used to identify how much of the overall
7373
budget is at risk.</p>
7474
</div>
7575
<div class="modal-window-row risk-container">
@@ -129,7 +129,7 @@
129129
</div>
130130
@if(form.hasError('totalMismatch')) {
131131
<div class="error">
132-
<p>The sum of all risk amounts does not match the {{'{'}}Revised Forecast/Current Forecast{{'}'}} amount.</p>
132+
<p>The sum of all risk amounts does not match the {{revisedForecastControl.value && revisedForecastControl.value > 0 ? 'Revised' : 'Current'}} Forecast amount.</p>
133133
</div>
134134
}
135135
</div>

0 commit comments

Comments
 (0)