aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/main.ts
diff options
context:
space:
mode:
authorRemy Raes <raes.remy@gmail.com>2022-10-20 02:19:26 +0200
committerRemy Raes <raes.remy@gmail.com>2022-10-20 02:19:26 +0200
commita0cb231ddbdd7fdced9e7cda771dff7d0833c826 (patch)
tree1e8a583241d319c0f683ea84f2d7ac8abaa54e2a /src-vue/src/main.ts
parenta336c03cc80f2e2848de32aa8fb979abc9538993 (diff)
downloadFlightCore-a0cb231ddbdd7fdced9e7cda771dff7d0833c826.tar.gz
FlightCore-a0cb231ddbdd7fdced9e7cda771dff7d0833c826.zip
fix: restore updateCurrentTab method with router
Diffstat (limited to 'src-vue/src/main.ts')
-rw-r--r--src-vue/src/main.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-vue/src/main.ts b/src-vue/src/main.ts
index cd1936b2..dc18b443 100644
--- a/src-vue/src/main.ts
+++ b/src-vue/src/main.ts
@@ -35,7 +35,7 @@ const routes = [
{ path: '/settings', name: 'Settings', component: async () => SettingsView},
{ path: '/dev', name: 'Dev', component: async () => DeveloperView}
];
-const router = createRouter({
+export const router = createRouter({
history: createWebHashHistory(),
routes, // short for `routes: routes`
});