summaryrefslogtreecommitdiff
path: root/src/client/os.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/os.ts')
-rw-r--r--src/client/os.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/os.ts b/src/client/os.ts
index 5f21cc39fb..dc0eb77485 100644
--- a/src/client/os.ts
+++ b/src/client/os.ts
@@ -177,10 +177,10 @@ export function popup(component: Component | typeof import('*.vue'), props: Reco
};
}
-export function pageWindow(url: string) {
- const { component, props } = resolve(url);
+export function pageWindow(path: string) {
+ const { component, props } = resolve(path);
popup(defineAsyncComponent(() => import('@/components/page-window.vue')), {
- initialUrl: url,
+ initialPath: path,
initialComponent: markRaw(component),
initialProps: props,
}, {}, 'closed');