Skip to content

Commit 20dfeb3

Browse files
tnagorrafrozenhelium
authored andcommitted
Update message when dref import fails
1 parent 09168d1 commit 20dfeb3

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.changeset/nasty-jars-happen.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"go-web-app": patch
3+
---
4+
5+
Update DREF import template
6+
7+
- Update guidance
8+
- Improve template stylings
9+
- Update message in error popup when import fails

app/src/views/DrefApplicationForm/DrefImportButton/DrefImportModal/i18n.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"drefImportFailed": "Failed to import",
77
"drefImportSelectFile": "Select file (xlsx)",
88
"drefImportTemplate": "Please select the filled template for the DREF Application",
9-
"drefImportFailedDescription": "Failed to process the selected import file, make sure you've downloaded the import template from the GO platform."
9+
"drefImportFailedDescription": "Failed to process the selected import file, make sure you've downloaded the import template from the GO platform. Please contact your DREF focal point in your region."
1010
}
11-
}
11+
}

app/src/views/DrefApplicationForm/DrefImportButton/DrefImportModal/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ function DrefImportModal(props: Props) {
124124
{
125125
variant: 'danger',
126126
description: strings.drefImportFailedDescription,
127+
debugMessage: 'Length of worksheet sbould be exactly 5.',
127128
},
128129
);
129130

0 commit comments

Comments
 (0)