@nocios/crudify-ui 3.0.54 → 3.0.56
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/dist/index.js +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4775,7 +4775,10 @@ var useCrudifyWithNotifications = (options = {}) => {
|
|
|
4775
4775
|
moduleKey = actionConfig.moduleKey;
|
|
4776
4776
|
}
|
|
4777
4777
|
}
|
|
4778
|
-
if (
|
|
4778
|
+
if (operation === "validateAndResetPassword") {
|
|
4779
|
+
const message = getSafeTranslation("resetPassword.successMessage", "Contrase\xF1a restablecida exitosamente");
|
|
4780
|
+
showNotification(message, "success", { autoHideDuration });
|
|
4781
|
+
} else if (shouldShowSuccessNotification(operation, moduleKey)) {
|
|
4779
4782
|
const message = getSuccessMessage(operation, moduleKey, actionConfig);
|
|
4780
4783
|
showNotification(message, "success", { autoHideDuration });
|
|
4781
4784
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -4761,7 +4761,10 @@ var useCrudifyWithNotifications = (options = {}) => {
|
|
|
4761
4761
|
moduleKey = actionConfig.moduleKey;
|
|
4762
4762
|
}
|
|
4763
4763
|
}
|
|
4764
|
-
if (
|
|
4764
|
+
if (operation === "validateAndResetPassword") {
|
|
4765
|
+
const message = getSafeTranslation("resetPassword.successMessage", "Contrase\xF1a restablecida exitosamente");
|
|
4766
|
+
showNotification(message, "success", { autoHideDuration });
|
|
4767
|
+
} else if (shouldShowSuccessNotification(operation, moduleKey)) {
|
|
4765
4768
|
const message = getSuccessMessage(operation, moduleKey, actionConfig);
|
|
4766
4769
|
showNotification(message, "success", { autoHideDuration });
|
|
4767
4770
|
}
|