summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-11-08 16:37:51 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-11-08 16:37:51 +0900
commita6985d7dc7f33864ee4156fe2c3a832b54f4f948 (patch)
tree9f03c61b023c89efea7990d3500e492d2c2e783d /src
parentアスタリスク3つでのtadaアニメーションを復活 (diff)
downloadsharkey-a6985d7dc7f33864ee4156fe2c3a832b54f4f948.tar.gz
sharkey-a6985d7dc7f33864ee4156fe2c3a832b54f4f948.tar.bz2
sharkey-a6985d7dc7f33864ee4156fe2c3a832b54f4f948.zip
Fix #6819
Diffstat (limited to 'src')
-rw-r--r--src/client/router.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/router.ts b/src/client/router.ts
index 575aed416d..6b789149cf 100644
--- a/src/client/router.ts
+++ b/src/client/router.ts
@@ -36,7 +36,7 @@ export const router = createRouter({
{ path: '/channels', component: page('channels') },
{ path: '/channels/new', component: page('channel-editor') },
{ path: '/channels/:channelId/edit', component: page('channel-editor'), props: true },
- { path: '/channels/:channelId', component: page('channel'), props: true },
+ { path: '/channels/:channelId', component: page('channel'), props: route => ({ channelId: route.params.channelId }) },
{ path: '/my/notifications', component: page('notifications') },
{ path: '/my/favorites', component: page('favorites') },
{ path: '/my/messages', component: page('messages') },