@nocios/crudify-ui 1.0.77 → 1.0.78
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 +7 -3
- package/dist/index.mjs +7 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1733,9 +1733,13 @@ var CrudifyLoginInternal = ({
|
|
|
1733
1733
|
if (screen2 === "login") {
|
|
1734
1734
|
console.log("\u{1F9F9} CrudifyLoginInternal - Navigating to login, clearing all URL params");
|
|
1735
1735
|
finalParams = {};
|
|
1736
|
-
} else if (screen2 === "forgotPassword"
|
|
1737
|
-
|
|
1738
|
-
|
|
1736
|
+
} else if (screen2 === "forgotPassword") {
|
|
1737
|
+
if (!params) {
|
|
1738
|
+
console.log("\u{1F9F9} CrudifyLoginInternal - Navigating to forgotPassword without params, clearing URL");
|
|
1739
|
+
finalParams = {};
|
|
1740
|
+
} else {
|
|
1741
|
+
console.log("\u{1F9F9} CrudifyLoginInternal - Navigating to forgotPassword with specific params");
|
|
1742
|
+
}
|
|
1739
1743
|
}
|
|
1740
1744
|
setScreen(screen2, finalParams);
|
|
1741
1745
|
onScreenChange?.(screen2, finalParams);
|
package/dist/index.mjs
CHANGED
|
@@ -1682,9 +1682,13 @@ var CrudifyLoginInternal = ({
|
|
|
1682
1682
|
if (screen2 === "login") {
|
|
1683
1683
|
console.log("\u{1F9F9} CrudifyLoginInternal - Navigating to login, clearing all URL params");
|
|
1684
1684
|
finalParams = {};
|
|
1685
|
-
} else if (screen2 === "forgotPassword"
|
|
1686
|
-
|
|
1687
|
-
|
|
1685
|
+
} else if (screen2 === "forgotPassword") {
|
|
1686
|
+
if (!params) {
|
|
1687
|
+
console.log("\u{1F9F9} CrudifyLoginInternal - Navigating to forgotPassword without params, clearing URL");
|
|
1688
|
+
finalParams = {};
|
|
1689
|
+
} else {
|
|
1690
|
+
console.log("\u{1F9F9} CrudifyLoginInternal - Navigating to forgotPassword with specific params");
|
|
1691
|
+
}
|
|
1688
1692
|
}
|
|
1689
1693
|
setScreen(screen2, finalParams);
|
|
1690
1694
|
onScreenChange?.(screen2, finalParams);
|