@novely/core 0.46.0-next.2 → 0.46.0-next.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.
@@ -1443,14 +1443,14 @@ var Novely = (() => {
1443
1443
  } else {
1444
1444
  for (let i = 1; i < props.length; i++) {
1445
1445
  const choice = props[i];
1446
- if (Array.isArray(choice) && choice.length === 2) {
1446
+ if (Array.isArray(choice)) {
1447
1447
  choice[1] = flatActions(choice[1]);
1448
1448
  }
1449
1449
  }
1450
1450
  }
1451
1451
  } else if (action2 === "condition") {
1452
1452
  const actions = props[1];
1453
- for (let key in actions) {
1453
+ for (const key in actions) {
1454
1454
  actions[key] = flatActions(actions[key]);
1455
1455
  }
1456
1456
  }
@@ -2155,7 +2155,7 @@ var Novely = (() => {
2155
2155
  }
2156
2156
  push();
2157
2157
  };
2158
- if (!ctx.meta.restoring) {
2158
+ if (!ctx.meta.restoring || ctx.meta.goingBack) {
2159
2159
  if (isPromise(result)) {
2160
2160
  result.then(next2);
2161
2161
  } else {