feedback for request export

master
alex 2024-02-04 00:24:17 +01:00
parent eb74f42aa1
commit 84467df09f
3 changed files with 17 additions and 20 deletions

View File

@ -330,9 +330,9 @@
"title": "Konto export anfordern",
"info": "Dies kann einige Zeit in Anspruch nehmen. Wir senden Ihnen eine E-Mail mit dem Download-Link, sobald der Export fertig ist.",
"request": {
"400": {
"title": "Passwort falsch",
"description": "Bitte überprüfen Sie Ihr Passwort und versuchen Sie es erneut."
"200": {
"title": "Export angefordert",
"description": "Wir haben Ihre Anfrage erhalten und senden Ihnen eine E-Mail, sobald der Export fertig ist"
}
}
}
@ -353,13 +353,7 @@
},
"improveLabel": "Wie können wir das Produkt verbessern?",
"improveRequired": "Bitte geben Sie Ihr Feedback ein",
"improveMinLengthRequired": "Bitte geben Sie mindestens {{minLength}} Zeichen ein",
"request": {
"400": {
"title": "Passwort falsch",
"description": "Bitte überprüfen Sie Ihr Passwort und versuchen Sie es erneut."
}
}
"improveMinLengthRequired": "Bitte geben Sie mindestens {{minLength}} Zeichen ein"
}
}
}

View File

@ -339,9 +339,9 @@
"title": "Request account export",
"info": "Export your account and all data created during the use of the dashboard.",
"request": {
"400": {
"title": "Password incorrect",
"description": "Please check your password and try again."
"200": {
"title": "Request sent",
"description": "We have received your request and will send you an email with the download link as soon as possible."
}
}
}
@ -362,13 +362,7 @@
},
"improveLabel": "How can we improve the product?",
"improveRequired": "Please enter your feedback",
"improveMinLengthRequired": "Please enter at least {{minLength}} characters",
"request": {
"400": {
"title": "Password incorrect",
"description": "Please check your password and try again."
}
}
"improveMinLengthRequired": "Please enter at least {{minLength}} characters"
}
}
}

View File

@ -677,6 +677,15 @@ function YourAccountExportDataCard({ notificationApi }) {
.then(() => {
setIsRequesting(false);
setIsModalOpen(false);
notificationApi["info"]({
message: t(
"userProfile.accountExport.modal.request.200.title"
),
description: t(
"userProfile.accountExport.modal.request.200.description"
),
});
})
.catch((errStatus) => {
setIsRequesting(false);