ywana-core8 0.1.41 → 0.1.43

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": "ywana-core8",
3
- "version": "0.1.41",
3
+ "version": "0.1.43",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -99,8 +99,9 @@ export const ChangeUserPasswordAction = (props) => {
99
99
  })
100
100
  site.closeDialog()
101
101
  } catch (error) {
102
- const key = error.message.toUpperCase()
103
- const message = errorMessages[key]?.description || error.message
102
+ console.log("ChangeUserPasswordAction error", error)
103
+ const key = error.message ? error.message.toUpperCase() : ""
104
+ const message = errorMessages[key]?.description || error.message || "Unknown error"
104
105
  site.notify({
105
106
  title: "Error",
106
107
  body: message,
@@ -119,7 +120,7 @@ export const ChangeUserPasswordAction = (props) => {
119
120
  return icon ? (
120
121
  <Icon icon="key" clickable action={execute} size="small" />
121
122
  ) : (
122
- <Button label={label} action={execute} outlined className="" />
123
+ <Button label={label} action={execute} className="" />
123
124
  )
124
125
  }
125
126
 
@@ -20,6 +20,16 @@ export const LOGIN_DICTIONARY = {
20
20
  fr: 'Confirmer le nouveau mot de passe'
21
21
  },
22
22
 
23
+ 'Change Password': {
24
+ en: 'Change Password',
25
+ es: 'Cambiar Contraseña',
26
+ de: 'Passwort ändern',
27
+ pt: 'Alterar Senha',
28
+ ca: 'Canviar Contrasenya',
29
+ it: 'Cambia Password',
30
+ fr: 'Changer le mot de passe'
31
+ },
32
+
23
33
  'Forgot Password': {
24
34
  en: 'Forgot Password',
25
35
  es: 'Olvidé mi contraseña',