Skip to content

Commit 215030a

Browse files
shreeyash07frozenhelium
authored andcommitted
Add dummy div when planned budget is matched
1 parent 76e826c commit 215030a

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.changeset/tame-peas-turn.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"go-web-app": patch
3+
---
4+
5+
Update DREF forms
6+
7+
- Move Response strategy description from placeholder to below the input
8+
- Add DREF allocation field in event details for the Loan type Ops. update form

app/src/views/DrefApplicationForm/Operation/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,12 +696,12 @@ function Operation(props: Props) {
696696
/>
697697
</InputSection>
698698
<InputSection
699-
description={!plannedBudgetMatchRequestedAmount && (
699+
description={!plannedBudgetMatchRequestedAmount ? (
700700
<div className={styles.warning}>
701701
<ErrorWarningFillIcon className={styles.icon} />
702702
{strings.drefFormResponseTotalAmountOfPlannedBudget}
703703
</div>
704-
)}
704+
) : <div />}
705705
>
706706
<div className={styles.interventionSelectionContainer}>
707707
<SelectInput

0 commit comments

Comments
 (0)