{{ i18n.ts.clip }}
@@ -59,6 +59,7 @@ import { defaultStore } from '@/store.js';
const props = defineProps<{
noteId: string;
+ initialTab?: string;
}>();
const note = ref
();
diff --git a/packages/frontend/src/router.ts b/packages/frontend/src/router.ts
index 9cf4be778c..09489fccbb 100644
--- a/packages/frontend/src/router.ts
+++ b/packages/frontend/src/router.ts
@@ -33,7 +33,7 @@ export const routes = [{
component: page(() => import('./pages/user/index.vue')),
}, {
name: 'note',
- path: '/notes/:noteId',
+ path: '/notes/:noteId/:initialTab?',
component: page(() => import('./pages/note.vue')),
}, {
name: 'list',