summaryrefslogtreecommitdiff
path: root/packages/client/src
diff options
context:
space:
mode:
authorfutchitwo <74236683+futchitwo@users.noreply.github.com>2022-06-12 19:53:21 +0900
committerGitHub <noreply@github.com>2022-06-12 19:53:21 +0900
commitb15dbb818f89527fc955079fa5ef7a0f49fe7f4f (patch)
tree65e3122f0a7d97142fa302f7ba17d455f3c9a249 /packages/client/src
parentlint (diff)
downloadmisskey-b15dbb818f89527fc955079fa5ef7a0f49fe7f4f.tar.gz
misskey-b15dbb818f89527fc955079fa5ef7a0f49fe7f4f.tar.bz2
misskey-b15dbb818f89527fc955079fa5ef7a0f49fe7f4f.zip
Fix(client): fix wrong gallery page component (#8815)
Diffstat (limited to 'packages/client/src')
-rw-r--r--packages/client/src/router.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/client/src/router.ts b/packages/client/src/router.ts
index db39dd741c..96c793166c 100644
--- a/packages/client/src/router.ts
+++ b/packages/client/src/router.ts
@@ -41,7 +41,7 @@ const defaultRoutes = [
{ path: '/gallery', component: page(() => import('./pages/gallery/index.vue')) },
{ path: '/gallery/new', component: page(() => import('./pages/gallery/edit.vue')) },
{ path: '/gallery/:postId/edit', component: page(() => import('./pages/gallery/edit.vue')), props: route => ({ postId: route.params.postId }) },
- { path: '/gallery/:postId', component: page(() => import('./pages/gallery/edit.vue')), props: route => ({ postId: route.params.postId }) },
+ { path: '/gallery/:postId', component: page(() => import('./pages/gallery/post.vue')), props: route => ({ postId: route.params.postId }) },
{ path: '/channels', component: page('channels') },
{ path: '/channels/new', component: page('channel-editor') },
{ path: '/channels/:channelId/edit', component: page('channel-editor'), props: true },