@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.
- package/dist/index.js +2 -3
- 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
|
-
|
|
2358
|
+
await present(p);
|
|
2360
2359
|
}
|
|
2361
2360
|
}
|
|
2362
2361
|
});
|