@novely/core 0.46.0-next.1 → 0.46.0-next.3
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.global.js +6 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1109,6 +1109,11 @@ var novely = ({
|
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
1111
|
}
|
|
1112
|
+
} else if (action2 === "condition") {
|
|
1113
|
+
const actions = props[1];
|
|
1114
|
+
for (let key in actions) {
|
|
1115
|
+
actions[key] = flatActions(actions[key]);
|
|
1116
|
+
}
|
|
1112
1117
|
}
|
|
1113
1118
|
if (preloadAssets === "blocking") {
|
|
1114
1119
|
huntAssets({
|
|
@@ -1811,7 +1816,7 @@ var novely = ({
|
|
|
1811
1816
|
}
|
|
1812
1817
|
push();
|
|
1813
1818
|
};
|
|
1814
|
-
if (!ctx.meta.restoring) {
|
|
1819
|
+
if (!ctx.meta.restoring || ctx.meta.goingBack) {
|
|
1815
1820
|
if (isPromise(result)) {
|
|
1816
1821
|
result.then(next2);
|
|
1817
1822
|
} else {
|