@simonbackx/vue-app-navigation 2.10.0 → 2.11.0

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2352,11 +2352,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2352
2352
  const instance = getCurrentInstance();
2353
2353
  provide("reactive_modalStackComponent", computed(() => getExposeProxy(instance)));
2354
2354
  provide("reactive_navigation_present", present);
2355
- onMounted(() => {
2356
- var _a;
2355
+ onMounted(async () => {
2357
2356
  if (props.initialPresents) {
2358
2357
  for (const p of props.initialPresents) {
2359
- (_a = navigationController.value) == null ? void 0 : _a.push(p);
2358
+ await present(p);
2360
2359
  }
2361
2360
  }
2362
2361
  });
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@simonbackx/vue-app-navigation",
3
3
  "main": "./dist/index.js",
4
4
  "types": "./dist/index.d.ts",
5
- "version": "2.10.0",
5
+ "version": "2.11.0",
6
6
  "exports": {
7
7
  ".": {
8
8
  "import": "./dist/index.js",