@designcrowd/fe-shared-lib 1.2.6-ml-291-2 → 1.2.6-ml-291-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.2.6-ml-291-2",
3
+ "version": "1.2.6-ml-291-4",
4
4
  "scripts": {
5
5
  "start": "run-p storybook watch:translation",
6
6
  "build": "npm run build:css --production",
@@ -138,6 +138,7 @@ export default {
138
138
  goBackToLoginLabel: this.forgotPasswordContent?.goBackToLoginLabel ?? 'Go back to login',
139
139
  emailAddressPlaceholderLabel: this.forgotPasswordContent?.emailAddressPlaceholderLabel ?? 'Email address',
140
140
  emailLabel: this.forgotPasswordContent?.emailLabel ?? 'Email',
141
+ emailErrorMessage: this.forgotPasswordContent?.emailErrorMessage ?? 'Please enter a valid email address',
141
142
  modalDescription: this.forgotPasswordContent?.description ?? 'Enter your email below. We will then send a reset-password link to your email address.',
142
143
  title: this.forgotPasswordContent?.title ?? 'Forgot your password?',
143
144
  };
@@ -187,7 +188,7 @@ export default {
187
188
  this.emailError = undefined;
188
189
 
189
190
  if (!this.aEmail) {
190
- this.emailError = 'Please enter a valid email address';
191
+ this.emailError = this.emailErrorMessage;
191
192
  }
192
193
 
193
194
  e.preventDefault();