Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
chore(user): add phrase in success message
Browse files Browse the repository at this point in the history
  • Loading branch information
lemredd committed Nov 28, 2022
1 parent 6ee3d67 commit 63b1648
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/settings/profile.page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ if (pageContext.pageProps.parsedUnitError) {
receivedErrors.value = [ pageContext.pageProps.parsedUnitError.detail ]
}
const submitMessage = "Please submit the changes."
function submitProfilePicture(formData: FormData) {
const profilePictureFetcher = new ProfilePictureFetcher()
Expand All @@ -271,7 +271,7 @@ function submitProfilePicture(formData: FormData) {
fillSuccessMessages(
receivedErrors,
successMessages,
"Profile picture uploaded successfully."
`Profile picture uploaded successfully. ${submitMessage}`
)
})
.catch(responseWithErrors => extractAllErrorDetails(responseWithErrors, receivedErrors))
Expand All @@ -297,7 +297,7 @@ function submitSignature(formData: FormData) {
fillSuccessMessages(
receivedErrors,
successMessages,
"Signature uploaded successfully."
`Signature uploaded successfully. ${submitMessage}`
)
})
.catch(responseWithErrors => extractAllErrorDetails(responseWithErrors, receivedErrors))
Expand Down

0 comments on commit 63b1648

Please sign in to comment.